@font-face{font-family:"Vazirmatn";src:url(../fonts/vazirmatn-56ebf2fc.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap;}@font-face{font-family:"Markazi Text";src:url(../fonts/markazi-text-763d3c10.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap;}@font-face{font-family:"Montserrat";src:url(../fonts/montserrat-ef9b0568.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap;}@font-face{font-family:"NX Digits";src:url(../fonts/vazirmatn-56ebf2fc.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+06F0-06F9, U+0660-0669;}


/* ==========================================================================
   Design system v3 — “the ring, read in chapters”
   The page is a sequence of full colour fields (navy, gold, porcelain, paper).
   Type does the work pictures usually do: one enormous statement per chapter,
   everything else small. No outlines, no shadows at rest, no gradients:
   things are told apart by tone and space.
   ========================================================================== */
:root {
  /* colour — brand */
  --nx-ink:        #0A1630;   /* navy: dark chapters, headings on light */
  --nx-ink-2:      #13234A;   /* navy, one step up: alternating dark rows */
  --nx-night:      #060D1D;   /* deepest: utility bar, footer */
  --nx-blue:       #1E3A8A;   /* royal blue chapter */
  --nx-gold:       #D4AF37;   /* brand gold: fields and actions */
  --nx-gold-hover: #E2C25A;
  --nx-gold-ink:   #7A5E0E;   /* gold that passes contrast as text on light */
  --nx-porcelain:  #EEF1F6;   /* light chapter / panels on paper */
  --nx-porcelain-2:#E3E8F0;   /* one step darker: alternating rows */
  --nx-paper:      #FFFFFF;
  --nx-text:       #141C30;
  --nx-muted:      #3F475D;
  --nx-on-dark:    #C9D2E3;
  --nx-on-dark-2:  #9AA7C2;

  /* unit accents (information: one colour per unit) */
  --nx-teal:    #00A99D;
  --nx-purple:  #6F42C1;
  --nx-emerald: #059669;
  --nx-amber:   #F59E0B;

  /* legacy aliases kept so Customizer colours and inline styles still resolve */
  --nx-mist:      var(--nx-porcelain);
  --nx-gold-deep: var(--nx-gold-ink);
  --nx-body:      var(--nx-text);
  --nx-silver:    #8C95A8;
  --nx-ink-soft:  var(--nx-ink-2);
  --nx-ink-deep:  var(--nx-night);
  --nx-line:      var(--nx-porcelain-2);
  --nx-line-2:    #C4CCDA;

  /* type */
  --nx-font:         "Vazirmatn", Tahoma, sans-serif;
  --nx-font-display: "NX Digits", "Markazi Text", "Vazirmatn", serif;
  --nx-font-latin:   "Montserrat", "Vazirmatn", sans-serif;
  /* five steps */
  --nx-t-s:   14px;
  --nx-t-b:   17px;
  --nx-t-m:   clamp(19px, 1.6vw, 23px);
  --nx-t-l:   clamp(30px, 3.4vw, 50px);
  --nx-t-xl:  clamp(52px, 8.6vw, 148px);

  /* shape: one radius for every panel, field and button */
  --nx-r: 10px;
  --nx-pill: 999px;

  /* layout */
  --nx-wrap: 1320px;
  --nx-gutter: clamp(16px, 4vw, 56px);
  --nx-ease: cubic-bezier(.2, .7, .2, 1);
  --nx-header-h: 76px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; -webkit-tap-highlight-color: rgba(212,175,55,.25); }
@media (pointer: fine) { html { overscroll-behavior: none; } }
body {
  margin: 0;
  background: var(--nx-paper);
  color: var(--nx-text);
  font-family: var(--nx-font);
  font-size: var(--nx-t-b);
  line-height: 1.95;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { touch-action: manipulation; }
p { margin: 0 0 1.1em; }
ul, ol { padding-inline-start: 1.3em; }
hr { border: 0; height: 32px; margin: 1rem 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--nx-font-display);
  color: var(--nx-ink);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h4, h5 { font-family: var(--nx-font); font-weight: 700; line-height: 1.6; }
[id] { scroll-margin-top: calc(var(--nx-header-h) + 16px); }

:focus-visible { outline: 3px solid var(--nx-gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--nx-gold); color: var(--nx-ink); }

.nx-wrap { width: 100%; max-width: var(--nx-wrap); margin-inline: auto; padding-inline: var(--nx-gutter); }
.nx-lat { font-family: var(--nx-font-latin); direction: ltr; unicode-bidi: isolate; }
.nx-num { font-variant-numeric: tabular-nums; }

.nx-skip {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 999;
  background: var(--nx-gold); color: var(--nx-ink); padding: 10px 18px; font-weight: 700; border-radius: var(--nx-r);
}
.nx-skip:focus { inset-inline-start: 12px; top: 12px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; /* taste-skill-ignore: visually hidden text */
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ==========================================================================
   Type
   ========================================================================== */
.nx-h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1.15; }
.nx-h2 { font-size: var(--nx-t-l); line-height: 1.2; }
.nx-h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.35; }
.nx-lead { font-size: var(--nx-t-m); color: var(--nx-text); line-height: 1.9; max-width: 58ch; }
.nx-kicker { font-size: var(--nx-t-s); color: var(--nx-muted); }
.nx-eyebrow { display: none; }

/* ==========================================================================
   Sections and chapters
   A chapter is a full-bleed field of one colour. data-tone tells the header
   which ink to take while it sits over that chapter.
   ========================================================================== */
.nx-sec { padding-block: clamp(72px, 9vw, 136px); }
.nx-sec--tight { padding-block: clamp(48px, 6vw, 84px); }
.nx-sec--mist, .nx-tone-light { background: var(--nx-porcelain); }
.nx-sec--ink, .nx-tone-dark { background: var(--nx-ink); color: var(--nx-on-dark); }
.nx-tone-night { background: var(--nx-night); color: var(--nx-on-dark); }
.nx-tone-blue { background: var(--nx-blue); color: #E3E9F7; }
.nx-tone-gold { background: var(--nx-gold); color: var(--nx-ink); }
.nx-sec--ink h2, .nx-sec--ink h3, .nx-tone-dark :is(h2,h3), .nx-tone-night :is(h2,h3), .nx-tone-blue :is(h2,h3) { color: #fff; }

.nx-sechead { max-width: 820px; margin-bottom: clamp(32px, 4.5vw, 64px); }
.nx-sechead .nx-h2 { margin-top: 0; }
.nx-sechead--split {
  display: flex; gap: 24px 56px; align-items: flex-end; justify-content: space-between;
  max-width: none; flex-wrap: wrap;
}
.nx-sechead--split > div { flex: 1 1 520px; }

/* ==========================================================================
   Buttons and links — one shape
   ========================================================================== */
.nx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border: 2px solid transparent; border-radius: var(--nx-r);
  font-weight: 700; font-size: 16px; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--nx-ease), border-color .2s var(--nx-ease), color .2s var(--nx-ease), transform .2s var(--nx-ease);
}
.nx-btn:active { transform: translateY(1px) scale(.985); }
.nx-btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--nx-ease); }
.nx-btn:hover svg { transform: translateX(-4px); }
.nx-btn--sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.nx-btn--gold { background: var(--nx-gold); color: var(--nx-ink); }
.nx-btn--gold:hover { background: var(--nx-gold-hover); }
.nx-btn--ink { background: var(--nx-ink); color: #fff; }
.nx-btn--ink:hover { background: var(--nx-blue); }
.nx-btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.nx-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.nx-btn--line { border-color: var(--nx-ink); color: var(--nx-ink); background: transparent; }
.nx-btn--line:hover { background: var(--nx-ink); color: #fff; }

.nx-textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--nx-ink);
  text-decoration: underline; text-decoration-color: var(--nx-gold); text-decoration-thickness: 2px; text-underline-offset: 7px;
  transition: color .2s, text-underline-offset .2s var(--nx-ease);
}
.nx-textlink svg { width: 16px; height: 16px; transition: transform .25s var(--nx-ease); }
.nx-textlink:hover { color: var(--nx-gold-ink); text-underline-offset: 4px; }
.nx-textlink:hover svg { transform: translateX(-4px); }
.nx-tone-dark .nx-textlink, .nx-tone-night .nx-textlink, .nx-tone-blue .nx-textlink { color: #fff; }
.nx-tone-dark .nx-textlink:hover, .nx-tone-night .nx-textlink:hover { color: var(--nx-gold); }

.nx-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px;
  border-radius: var(--nx-pill); background: var(--nx-porcelain); color: var(--nx-ink);
  font-size: 14px; font-weight: 600; line-height: 1;
}
.nx-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--nx-accent, var(--nx-gold)); }

/* ==========================================================================
   Utility bar + header (the header takes the ink of the chapter under it)
   ========================================================================== */
.nx-utility { background: var(--nx-night); color: var(--nx-on-dark-2); font-size: var(--nx-t-s); }
.nx-utility .nx-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.nx-utility a { transition: color .2s; }
.nx-utility a:hover { color: #fff; }
.nx-utility__links { display: flex; align-items: center; gap: 22px; }
.nx-utility__note { display: flex; align-items: center; gap: 10px; }
.nx-utility__note a { color: var(--nx-on-dark); }
.nx-utility__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nx-gold); }
.nx-utility__member { color: var(--nx-gold) !important; font-weight: 700; }

.nx-header {
  /* The header stays on the brand navy, so the gold logo always sits on the ground it was drawn for;
     over dark chapters it follows their shade (navy, night, royal blue). */
  --hd-bg: var(--nx-ink); --hd-ink: #fff; --hd-soft: var(--nx-on-dark-2);
  position: sticky; top: 0; z-index: 120; background: var(--hd-bg); color: var(--hd-ink);
  transition: background-color .3s var(--nx-ease), color .3s var(--nx-ease);
}
.nx-header[data-tone="night"] { --hd-bg: var(--nx-night); }
.nx-header[data-tone="blue"]  { --hd-bg: var(--nx-blue); }
.nx-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--nx-header-h); }

.nx-logo { display: inline-flex; align-items: center; gap: 12px; flex: none; color: var(--nx-gold); }
.nx-logo__mark { width: 50px; height: 50px; flex: none; color: var(--nx-gold); }
.nx-logo__text { display: flex; flex-direction: column; align-items: stretch; line-height: 1; }
.nx-logo__name { display: flex; align-items: baseline; justify-content: space-between; gap: 4px; direction: ltr; }
.nx-word { font-family: var(--nx-font-latin); font-weight: 600; font-size: 21px; letter-spacing: .02em; color: var(--nx-gold); line-height: 1; }
.nx-word__lambda { width: .78em; height: .9em; color: var(--nx-gold); }
.nx-logo__sub {
  display: flex; align-items: center; gap: 6px; direction: ltr;
  font-family: var(--nx-font-latin); font-size: 8.5px; font-weight: 500; letter-spacing: .38em; color: #D8DCE6; margin-top: 7px;
}
.nx-logo__sub::before, .nx-logo__sub::after { content: ""; flex: 1; min-width: 8px; height: 1px; background: var(--nx-gold); } /* taste-skill-ignore: the ECOSYSTEM rules are part of the registered logo lockup */
.nx-logo--dark .nx-word, .nx-logo--dark .nx-word__lambda { color: var(--nx-gold); }

/* primary nav */
.nx-nav { margin-inline-start: auto; }
.nx-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nx-nav > ul > li { position: relative; }
.nx-nav > ul > li > a {
  display: flex; align-items: center; height: var(--nx-header-h); padding: 0 13px;
  font-size: 16px; font-weight: 600; color: var(--hd-ink); position: relative; transition: color .3s var(--nx-ease);
}
.nx-nav > ul > li > a::after {
  content: ""; position: absolute; inset-inline: 13px; bottom: 16px; height: 3px; border-radius: 3px;
  background: var(--nx-gold); transform: scaleX(0); transform-origin: right; transition: transform .25s var(--nx-ease);
}
.nx-nav > ul > li:hover > a::after,
.nx-nav > ul > li:focus-within > a::after,
.nx-nav > ul > li.current-menu-item > a::after { transform: scaleX(1); }

/* simple dropdowns */
.nx-nav ul ul {
  position: absolute; top: 100%; inset-inline-end: 0; min-width: 250px; z-index: 5;
  list-style: none; margin: 0; padding: 10px; background: var(--nx-porcelain); color: var(--nx-text);
  border-radius: 0 0 var(--nx-r) var(--nx-r);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--nx-ease), transform .2s var(--nx-ease), visibility .2s;
}
.nx-nav li:hover > ul, .nx-nav li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.nx-nav ul ul a { display: block; padding: 9px 14px; border-radius: var(--nx-r); font-size: 15px; color: var(--nx-text); }
.nx-nav ul ul a:hover { background: #fff; color: var(--nx-ink); }

.nx-header__cta { display: flex; align-items: center; gap: 10px; flex: none; }
.nx-iconbtn {
  width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--nx-r);
  display: grid; place-items: center; cursor: pointer; color: var(--hd-ink); transition: background-color .2s, color .3s;
}
.nx-iconbtn:hover { background: color-mix(in srgb, var(--hd-ink) 10%, transparent); }
.nx-iconbtn svg { width: 19px; height: 19px; }

.nx-burger {
  display: none; width: 46px; height: 46px; border: 0; background: transparent;
  border-radius: var(--nx-r); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nx-burger span { display: block; width: 22px; height: 2px; background: var(--hd-ink); border-radius: 2px; transition: transform .3s var(--nx-ease), opacity .2s; }
.nx-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(-45deg); }
.nx-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nx-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(45deg); }

.nx-searchbar { background: var(--nx-porcelain); padding: 24px 0; }
.nx-searchbar[hidden] { display: none; }
.nx-searchbar__hint { font-size: var(--nx-t-s); color: var(--nx-muted); margin: 10px 0 0; }

/* ==========================================================================
   Mega menus
   ========================================================================== */
.nx-nav > ul > li:has(> .nx-mega),
.nx-nav > ul > li.nx-mega-ecosystem,
.nx-nav > ul > li.nx-mega-units,
.nx-nav > ul > li.nx-mega-services,
.nx-nav > ul > li.nx-mega-platforms,
.nx-nav > ul > li.nx-mega-insights,
.nx-nav > ul > li.nx-has-mega { position: static; }

.nx-mega {
  position: absolute; inset-inline: 0; top: 100%; background: var(--nx-porcelain); color: var(--nx-text);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .22s var(--nx-ease), transform .22s var(--nx-ease), visibility .22s;
}
.nx-nav > ul > li:hover > .nx-mega,
.nx-nav > ul > li:focus-within > .nx-mega { opacity: 1; visibility: visible; transform: none; }

.nx-mega__inner { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 48px; padding-block: 40px 34px; }
.nx-mega__lead h3 { font-size: 2.1rem; margin: 0 0 10px; }
.nx-mega__lead p { font-size: 16px; color: var(--nx-muted); line-height: 1.95; margin: 0; }
.nx-mega__body { min-width: 0; }
.nx-mega__grid { display: grid; gap: 6px 8px; }
.nx-mega__grid--5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.nx-mega__grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.nx-mega__item {
  display: block; padding: 13px 14px 14px; border-radius: var(--nx-r);
  transition: background-color .18s var(--nx-ease);
}
.nx-mega__item:hover, .nx-mega__item:focus-visible { background: #fff; }
.nx-mega__num {
  display: flex; align-items: center; gap: 8px; direction: ltr; justify-content: flex-end;
  font-family: var(--nx-font-latin); font-size: 13px; font-weight: 600; color: var(--nx-muted);
}
.nx-mega__num::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--nx-accent, var(--nx-gold)); }
.nx-mega__name { display: block; font-weight: 700; font-size: 16px; color: var(--nx-ink); margin-top: 6px; line-height: 1.6; }
.nx-mega__tag { display: block; font-size: 15px; color: var(--nx-muted); margin-top: 2px; line-height: 1.7; }
.nx-mega__foot { grid-column: 1 / -1; display: flex; gap: 28px; flex-wrap: wrap; padding-top: 10px; }
.nx-mega__cols { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 36px; }
.nx-mega__col h4 { font-size: 14px; color: var(--nx-gold-ink); margin-bottom: 10px; }
.nx-mega__col ul { list-style: none; margin: 0 0 14px; padding: 0; }
.nx-mega__col li a { display: block; padding: 7px 0; font-size: 16px; line-height: 1.75; color: var(--nx-text); }
.nx-mega__col li a:hover { color: var(--nx-gold-ink); }

/* ==========================================================================
   Mobile drawer + booking bar
   ========================================================================== */
.nx-drawer {
  position: fixed; inset: 0; z-index: 200; background: var(--nx-night); color: #fff;
  padding: 22px var(--nx-gutter) 40px; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(-100%); transition: transform .35s var(--nx-ease); visibility: hidden;
}
.nx-drawer.is-open { transform: none; visibility: visible; }
.nx-drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.nx-drawer__close { background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; width: 46px; height: 46px; }
.nx-drawer ul { list-style: none; margin: 0; padding: 0; }
.nx-drawer .nx-mega { display: none; }
.nx-drawer > nav > ul > li + li { margin-top: 2px; }
.nx-drawer a { display: block; padding: 13px 0; font-size: 20px; font-weight: 600; color: #fff; }
.nx-drawer ul ul { padding-bottom: 10px; }
.nx-drawer ul ul a { font-size: 16px; font-weight: 400; color: var(--nx-on-dark); padding: 7px 0; }
.nx-drawer__actions { display: grid; gap: 10px; margin-top: 28px; }
.nx-drawer .nx-btn { display: flex; padding: 0 26px; font-size: 16px; }
.nx-drawer .nx-btn--gold { color: var(--nx-ink); }

.nx-mobilecta { display: none; }

/* ==========================================================================
   1. Spotlight slideshow — each slide a colour field with a two-line statement
   ========================================================================== */
.nx-show {
  --show-h: max(600px, calc(100svh - var(--nx-header-h) - 40px));
  position: relative; overflow: hidden; background: var(--nx-ink);
}
.nx-show__track { position: relative; height: var(--show-h); }
.nx-slide {
  --sl-bg: var(--nx-ink); --sl-pale: var(--nx-gold); --sl-ink: #fff; --sl-soft: var(--nx-on-dark);
  position: absolute; inset: 0; background: var(--sl-bg); color: var(--sl-soft);
  display: grid; grid-template-columns: minmax(0, 1fr); visibility: hidden; opacity: 0;
  transition: opacity .7s var(--nx-ease), visibility 0s linear .7s;
}
.nx-slide.is-current { visibility: visible; opacity: 1; transition: opacity .7s var(--nx-ease), visibility 0s; z-index: 2; }
.nx-slide[data-field="gold"]      { --sl-bg: var(--nx-gold); --sl-pale: #5C460B; --sl-ink: var(--nx-ink); --sl-soft: #2B2A1E; }
.nx-slide[data-field="paper"]     { --sl-bg: var(--nx-paper); --sl-pale: var(--nx-gold-ink); --sl-ink: var(--nx-ink); --sl-soft: var(--nx-muted); }
.nx-slide[data-field="porcelain"] { --sl-bg: var(--nx-porcelain); --sl-pale: var(--nx-blue); --sl-ink: var(--nx-ink); --sl-soft: var(--nx-muted); }
.nx-slide[data-field="blue"]      { --sl-bg: var(--nx-blue); --sl-pale: var(--nx-gold); --sl-ink: #fff; --sl-soft: #D5DEF4; }
.nx-slide[data-field="night"]     { --sl-bg: var(--nx-night); --sl-pale: var(--nx-gold); --sl-ink: #fff; --sl-soft: var(--nx-on-dark); }

.nx-slide__body {
  position: relative; z-index: 2; display: grid; height: 100%;
  grid-template-rows: 1fr auto; padding: clamp(48px, 9vh, 104px) var(--nx-gutter) clamp(112px, 15vh, 150px);
  max-width: var(--nx-wrap); width: 100%; margin-inline: auto;
}
.nx-slide__title {
  margin: 0; font-family: var(--nx-font-display); font-weight: 700; font-size: var(--nx-t-xl);
  line-height: .98; letter-spacing: -.01em; color: var(--sl-ink);
}
.nx-slide__title span { display: block; }
.nx-slide__title .nx-l1 { color: var(--sl-pale); }
.nx-slide__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.nx-slide__text { font-size: var(--nx-t-m); line-height: 1.85; max-width: 44ch; margin: 0; color: var(--sl-soft); }
.nx-slide__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nx-slide .nx-textlink { color: var(--sl-ink); }
.nx-slide[data-field="gold"] .nx-btn--gold { background: var(--nx-ink); color: #fff; }
.nx-slide[data-field="gold"] .nx-btn--gold:hover { background: var(--nx-blue); }
.nx-slide[data-field="gold"] .nx-textlink { text-decoration-color: var(--nx-ink); }

/* optional picture or film on a slide: it takes the left half, the words keep the right */
.nx-slide__media { display: none; }
.nx-slide.has-media { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.nx-slide.has-media .nx-slide__body { margin: 0; max-width: none; padding-inline-end: clamp(24px, 4vw, 56px); }
.nx-slide.has-media .nx-slide__title { font-size: clamp(48px, 6.2vw, 112px); }
.nx-slide.has-media .nx-slide__media { display: block; position: relative; height: 100%; overflow: hidden; background: var(--nx-ink-2); }
.nx-slide__media img, .nx-slide__media video { width: 100%; height: 100%; object-fit: cover; }
/* the logo plate: NEXAI's own artwork, shown whole on the navy field */
.nx-slide__media--plate { display: grid !important; place-items: center; background: transparent !important; padding: clamp(32px, 4vw, 64px) clamp(24px, 4vw, 64px) 150px; }
.nx-slide__media--plate img { width: min(100%, 560px); height: auto; max-height: 100%; object-fit: contain; border-radius: var(--nx-r); }
.nx-slide.is-current .nx-slide__media.nx-slide__media--plate img { animation: nx-ui-in 1s var(--nx-ease) .1s both; }

/* entrance of the current slide's parts */
.nx-motion .nx-slide :is(.nx-l1, .nx-l2, .nx-slide__text, .nx-slide__actions) { opacity: 0; transform: translateY(26px); }
.nx-motion .nx-slide.is-current :is(.nx-l1, .nx-l2, .nx-slide__text, .nx-slide__actions) {
  opacity: 1; transform: none; transition: opacity .7s var(--nx-ease), transform .8s var(--nx-ease);
}
.nx-motion .nx-slide.is-current .nx-l2 { transition-delay: .08s; }
.nx-motion .nx-slide.is-current .nx-slide__text { transition-delay: .2s; }
.nx-motion .nx-slide.is-current .nx-slide__actions { transition-delay: .28s; }
.nx-slide.is-current .nx-slide__media img { animation: nx-drift 14s linear both; }
@keyframes nx-drift { from { transform: scale(1.06); } to { transform: scale(1); } }

/* controls */
.nx-show__bar {
  position: absolute; z-index: 5; inset-inline: 0; bottom: 0;
  display: flex; align-items: stretch; gap: 0; color: var(--bar-ink, #fff);
  max-width: var(--nx-wrap); margin-inline: auto; padding: 0 var(--nx-gutter) clamp(22px, 3.4vh, 34px);
}
.nx-show[data-ink="dark"] .nx-show__bar { --bar-ink: var(--nx-ink); }
.nx-show__tabs { display: flex; flex: 1; gap: 6px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.nx-show__tab {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; align-items: stretch;
  background: none; border: 0; padding: 12px 0 0; cursor: pointer; color: inherit; text-align: right;
  font-size: 15px; font-weight: 600; opacity: .62; transition: opacity .2s;
}
.nx-show__tab:hover, .nx-show__tab[aria-current="true"] { opacity: 1; }
.nx-show__tab i { display: block; height: 4px; border-radius: 4px; background: color-mix(in srgb, currentColor 26%, transparent); overflow: hidden; }
.nx-show__tab i::before { content: ""; display: block; height: 100%; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; }
.nx-show__tab[aria-current="true"] i::before { transform: scaleX(var(--p, 0)); }
.nx-show__tab span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-show__btns { display: flex; align-items: flex-end; gap: 6px; margin-inline-start: clamp(16px, 3vw, 40px); }
.nx-show__btn {
  width: 46px; height: 46px; border-radius: var(--nx-r); border: 0; cursor: pointer;
  background: color-mix(in srgb, currentColor 12%, transparent); color: inherit;
  display: grid; place-items: center; transition: background-color .2s, transform .2s var(--nx-ease);
}
.nx-show__btn:hover { background: color-mix(in srgb, currentColor 22%, transparent); }
.nx-show__btn:active { transform: scale(.94); }
.nx-show__btn svg { width: 18px; height: 18px; }
.nx-show__btn .nx-ico-play { display: none; }
.nx-show.is-paused .nx-show__btn .nx-ico-play { display: block; }
.nx-show.is-paused .nx-show__btn .nx-ico-pause { display: none; }
.nx-show__count { align-self: flex-end; min-width: 64px; text-align: center; font-size: var(--nx-t-s); font-weight: 600; padding-bottom: 12px; }
.nx-show__try { font-size: var(--nx-t-s); }

/* ==========================================================================
   2. Ecosystem chapter — the orbit (the page's live thing)
   ========================================================================== */
.nx-ring { position: relative; overflow: hidden; }
.nx-ring__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.nx-ring__title { font-size: var(--nx-t-l); color: #fff; margin: 0 0 22px; }
.nx-ring__title span { display: block; color: var(--nx-gold); }
.nx-ring__text { font-size: var(--nx-t-m); color: var(--nx-on-dark); line-height: 1.9; max-width: 40ch; }
.nx-ring__lenses { margin: 32px 0 36px; display: grid; gap: 14px; }
.nx-ring__lenses div { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 16px; align-items: baseline; }
.nx-ring__lenses dt { font-family: var(--nx-font-display); font-size: 1.45rem; font-weight: 600; color: var(--nx-gold); }
.nx-ring__lenses dd { margin: 0; font-size: 16.5px; color: var(--nx-on-dark); line-height: 1.85; }
.nx-ring__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.nx-orbit {
  --r: 37%;
  position: relative; width: min(100%, 640px); aspect-ratio: 1; margin-inline: auto;
}
.nx-orbit__rings {
  position: absolute; overflow: visible;
  width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  left: calc(50% - var(--r)); top: calc(50% - var(--r));
}
.nx-orbit__rings circle { fill: none; }
.nx-orbit__track { stroke: rgba(212,175,55,.75); stroke-width: .6; stroke-dasharray: 100; animation: nx-draw 1.8s var(--nx-ease) both; }
.nx-orbit__inner { stroke: rgba(255,255,255,.18); stroke-width: .35; }
.nx-orbit__ticks line { stroke: rgba(212,175,55,.55); stroke-width: .35; }
.nx-orbit__ticks line.is-long { stroke: rgba(212,175,55,.9); stroke-width: .5; }

.nx-orbit__progress {
  stroke: var(--nx-gold); stroke-width: 1.6; stroke-linecap: round; opacity: 0;
  stroke-dasharray: 0 100; transition: stroke-dasharray .5s var(--nx-ease), opacity .2s;
}
.nx-orbit.is-active .nx-orbit__progress { opacity: 1; }
@keyframes nx-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes nx-turn { to { transform: rotate(360deg); } }

.nx-orbit__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: calc(var(--r) * 1.36); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 8%; background: var(--nx-ink-2);
}
.nx-orbit__rest, .nx-orbit__detail { grid-area: 1 / 1; transition: opacity .25s var(--nx-ease), transform .3s var(--nx-ease); }
.nx-orbit__detail { opacity: 0; visibility: hidden; transform: translateY(8px); }
.nx-orbit.is-active .nx-orbit__rest { opacity: 0; visibility: hidden; }
.nx-orbit.is-active .nx-orbit__detail { opacity: 1; visibility: visible; transform: none; }
.nx-orbit__rest .nx-logo__mark { width: 58px; height: 58px; margin: 0 auto 12px; }
.nx-orbit__rest strong { display: block; font-family: var(--nx-font-display); font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.75rem); color: #fff; line-height: 1.35; }
.nx-orbit__rest span { display: block; font-size: 15px; color: var(--nx-on-dark-2); margin-top: 6px; line-height: 1.8; }
.nx-orbit__detail i { display: block; font-style: normal; font-family: var(--nx-font-latin); font-size: 13px; font-weight: 600; color: var(--nx-gold); direction: ltr; }
.nx-orbit__detail strong { display: block; font-family: var(--nx-font-display); font-weight: 600; font-size: clamp(1.35rem, 2.2vw, 1.9rem); color: #fff; line-height: 1.3; margin: 6px 0; }
.nx-orbit__detail span { display: block; font-size: 15px; color: var(--nx-on-dark); line-height: 1.8; }

.nx-orbit__node {
  position: absolute; width: 0; height: 0;
  left: calc(50% + var(--r) * var(--cx)); top: calc(50% + var(--r) * var(--cy));
  animation: nx-node-in .5s var(--nx-ease) both; animation-delay: calc(var(--i) * 90ms + 500ms);
}
.nx-orbit__node:focus-visible { outline: none; }
@keyframes nx-node-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.nx-orbit__dot {
  position: absolute; left: 0; top: 0; width: 24px; height: 24px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--nx-accent, var(--nx-gold)); background-clip: padding-box;
  border: 4px solid var(--nx-ink); outline: 3px solid transparent; outline-offset: 0;
  transition: outline-color .2s var(--nx-ease), transform .2s var(--nx-ease);
}
.nx-orbit__node::before { content: ""; position: absolute; width: 44px; height: 44px; left: -22px; top: -22px; }
.nx-orbit__node:hover .nx-orbit__dot, .nx-orbit__node.is-current .nx-orbit__dot {
  transform: translate(-50%, -50%) scale(1.3); outline-color: var(--nx-gold);
}
.nx-orbit__node:focus-visible .nx-orbit__dot { outline: 3px solid #fff; outline-offset: 2px; }
.nx-orbit__label { position: absolute; white-space: nowrap; line-height: 1.35; padding: 4px 2px; }
.nx-orbit__label b { display: block; font-weight: 600; font-size: 15px; color: #fff; transition: color .2s; }
.nx-orbit__label i { display: block; font-style: normal; font-family: var(--nx-font-latin); font-size: 13px; font-weight: 600; color: var(--nx-gold); direction: ltr; }
.nx-orbit__node:hover .nx-orbit__label b, .nx-orbit__node.is-current .nx-orbit__label b { color: var(--nx-gold-hover); }
.nx-orbit__node[data-side="right"] .nx-orbit__label { left: 20px; top: 0; transform: translateY(-50%); text-align: left; }
.nx-orbit__node[data-side="right"] .nx-orbit__label i { text-align: left; }
.nx-orbit__node[data-side="left"] .nx-orbit__label { right: 20px; top: 0; transform: translateY(-50%); text-align: right; }
.nx-orbit__node[data-side="left"] .nx-orbit__label i { text-align: right; }
.nx-orbit__node[data-side="top"] .nx-orbit__label { bottom: 16px; left: 0; transform: translateX(-50%); text-align: center; }
.nx-orbit__node[data-side="bottom"] .nx-orbit__label { top: 16px; left: 0; transform: translateX(-50%); text-align: center; }
.nx-orbit__node[data-side="top"] .nx-orbit__label i, .nx-orbit__node[data-side="bottom"] .nx-orbit__label i { text-align: center; }

/* ==========================================================================
   Ecosystem matrix — one list, three lenses
   ========================================================================== */
.nx-lenses { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(20px, 3vw, 40px); margin-bottom: 40px; }
.nx-lens { padding: 22px 24px; background: var(--nx-porcelain); border-radius: var(--nx-r); }
.nx-sec--mist .nx-lens, .nx-tone-light .nx-lens { background: #fff; }
.nx-lens__en { display: none; }
.nx-lens__label { font-size: 1.6rem; margin: 0 0 6px; }
.nx-lens__text { font-size: 16px; color: var(--nx-muted); line-height: 1.95; margin: 0; }

.nx-viewbar { display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; margin-bottom: 22px; }
.nx-viewbar__label { font-size: var(--nx-t-s); font-weight: 600; color: var(--nx-muted); }
.nx-viewbar__tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--nx-porcelain); border-radius: var(--nx-r); }
.nx-sec--mist .nx-viewbar__tabs { background: var(--nx-porcelain-2); }
.nx-viewtab {
  border: 0; background: transparent; color: var(--nx-muted); font-size: 15px; font-weight: 700;
  min-height: 42px; padding: 0 18px; border-radius: 7px; cursor: pointer;
  transition: background-color .2s var(--nx-ease), color .2s;
}
.nx-viewtab:hover { color: var(--nx-ink); }
.nx-viewtab.is-active { background: var(--nx-ink); color: #fff; }
.nx-viewbar__note { margin-inline-start: auto; font-size: 14px; color: var(--nx-muted); }

.nx-matrix { display: grid; gap: 10px; }
.nx-matrix--grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nx-matrix--grid .nx-mx { padding: 22px 20px 20px; }
.nx-matrix--grid .nx-mx__unit b { font-size: 1.5rem; }
.nx-matrix--grid .nx-mx__desc { font-size: 16px; }
.nx-matrix--grid:not(.is-view-chain) .nx-mx__stage i { display: none; }
.is-view-chain .nx-mx__stage { flex-wrap: wrap; row-gap: 2px; }
.is-view-chain .nx-mx__stage i { flex-basis: 100%; padding-inline-start: 17px; }
.nx-matrix--rows { grid-template-columns: 1fr; gap: 6px; }

.nx-mx {
  position: relative; display: flex; flex-direction: column; background: var(--nx-porcelain);
  border-radius: var(--nx-r); padding: 24px 24px 22px; overflow: hidden;
  transition: background-color .25s var(--nx-ease), transform .25s var(--nx-ease);
}
.nx-sec--mist .nx-mx { background: #fff; }
.nx-mx::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: var(--nx-accent, var(--nx-gold));
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--nx-ease);
}
.nx-mx:hover { background: color-mix(in srgb, var(--nx-accent, #fff) 9%, #fff); transform: translateY(-3px); }
.nx-mx:hover::after { transform: scaleX(1); }
.nx-mx__rank { display: none; }
.nx-mx__facet { display: block; }
.nx-mx__facet b { display: block; font-weight: 700; color: var(--nx-ink); }
.nx-mx__facet i { display: block; font-style: normal; color: var(--nx-muted); }
.nx-mx__stage { order: 1; display: flex !important; align-items: center; gap: 8px; margin-bottom: 14px; }
.nx-mx__stage::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--nx-accent, var(--nx-gold)); flex: none; }
.nx-mx__stage b { font-family: var(--nx-font-latin); font-size: 13.5px; font-weight: 600; color: var(--nx-ink); }
.nx-mx__stage i { font-size: 14px; }
.nx-mx__unit { order: 2; margin-bottom: 6px; }
.nx-mx__unit b { font-family: var(--nx-font-display); font-weight: 600; font-size: 1.6rem; line-height: 1.3; }
.nx-mx__unit i { font-family: var(--nx-font-latin); font-size: 13px; margin-top: 2px; direction: ltr; text-align: right; }
.nx-mx__service { order: 3; margin-bottom: 10px; }
.nx-mx__service b { font-size: 14.5px; font-weight: 600; color: var(--nx-gold-ink); line-height: 1.7; }
.nx-mx__desc { order: 4; font-size: 16px; color: var(--nx-muted); line-height: 1.9; }
.nx-mx__go { order: 5; margin-top: auto; padding-top: 18px; }
.nx-mx__go .nx-textlink { font-size: 15px; }

.is-view-chain .nx-mx__stage b { font-family: var(--nx-font-latin); font-size: 1.15rem; font-weight: 600; }
.is-view-chain .nx-mx__stage i { font-size: 15px; color: var(--nx-ink); font-weight: 600; }
.is-view-chain .nx-mx__unit b { font-family: var(--nx-font); font-size: 15px; font-weight: 700; color: var(--nx-text); }
.is-view-chain .nx-mx__service b { font-size: 14px; font-weight: 500; color: var(--nx-muted); }
.is-view-services .nx-mx__service { order: 1; margin-bottom: 12px; }
.is-view-services .nx-mx__stage { order: 2; margin-bottom: 8px; }
.is-view-services .nx-mx__unit { order: 3; margin-bottom: 10px; }
.is-view-services .nx-mx__service b { font-family: var(--nx-font-display); font-size: 1.55rem; font-weight: 600; color: var(--nx-ink); line-height: 1.35; }
.is-view-services .nx-mx__unit b { font-family: var(--nx-font); font-size: 14.5px; font-weight: 700; color: var(--nx-gold-ink); }
.is-view-services .nx-mx__unit i { display: none; }

.nx-matrix--rows .nx-mx {
  display: grid; grid-template-columns: 170px 240px minmax(0,1fr) 180px; align-items: center; gap: 22px; padding: 20px 22px;
}
.nx-matrix--rows .nx-mx:nth-child(even) { background: var(--nx-porcelain-2); }
.nx-matrix--rows .nx-mx:hover { transform: none; }
.nx-matrix--rows .nx-mx__stage, .nx-matrix--rows .nx-mx__unit, .nx-matrix--rows .nx-mx__service { margin: 0; order: 0; }
.nx-matrix--rows .nx-mx__desc { display: none; }
.nx-matrix--rows .nx-mx__go { order: 0; margin: 0; padding: 0; text-align: end; }
.nx-matrix--rows .nx-mx__unit b { font-size: 1.35rem; }
.nx-matrix--rows .nx-mx__service b { font-size: 15px; }
.nx-matrix--rows.is-view-services .nx-mx__service b { font-size: 1.25rem; }
.nx-matrix--rows.is-view-chain .nx-mx__stage b { font-size: 1rem; }
.nx-matrix--rows:not(.is-view-chain) .nx-mx__stage i { display: none; }
.nx-matrix--rows.is-view-services .nx-mx { grid-template-columns: minmax(0,1fr) 170px 240px 180px; }
.nx-matrix--rows.is-view-services .nx-mx__service { order: 1; }
.nx-matrix--rows.is-view-services .nx-mx__stage { order: 2; }
.nx-matrix--rows.is-view-services .nx-mx__unit { order: 3; }
.nx-matrix--rows.is-view-services .nx-mx__go { order: 4; }
.nx-matrix--rows.is-view-services .nx-mx__service b { font-family: var(--nx-font-display); color: var(--nx-ink); }
.nx-matrix--rows.is-view-services .nx-mx__unit b { font-family: var(--nx-font); font-size: 14.5px; color: var(--nx-gold-ink); }

/* the same entry, from three angles (unit page) */
.nx-triple { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.nx-triple__item { background: var(--nx-porcelain); border-radius: var(--nx-r); padding: 24px 26px; position: relative; overflow: hidden; }
.nx-triple__item::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 5px; background: var(--nx-accent, var(--nx-gold)); }
.nx-triple__en { display: none; }
.nx-triple__k { display: block; font-size: 14px; color: var(--nx-muted); }
.nx-triple__v { display: block; font-family: var(--nx-font-display); font-size: 1.6rem; font-weight: 600; color: var(--nx-ink); margin-top: 4px; line-height: 1.35; }
.nx-triple__v .nx-lat { font-size: 13px; color: var(--nx-muted); font-weight: 500; }
.nx-triple__note { font-size: 16px; color: var(--nx-muted); margin: 18px 0 0; max-width: 72ch; }

/* ==========================================================================
   3. Two giant numerals compared
   ========================================================================== */
.nx-pair { overflow: hidden; }
.nx-pair__head { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 0 24px; }
.nx-pair__head h2 { grid-column: 1 / 6; font-size: var(--nx-t-l); margin: 0; }
.nx-pair__head p { grid-column: 7 / 13; font-size: var(--nx-t-b); line-height: 2; margin: 0; max-width: 56ch; }
.nx-pair__specimens { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8vh; }
.nx-pair__specimen { position: relative; margin: 0; }
.nx-pair__word { display: block; height: clamp(220px, 25vw, 380px); overflow: hidden; }
.nx-pair__word b {
  display: block; font-family: var(--nx-font-display); font-weight: 700; line-height: 1.05;
  font-size: clamp(200px, 30vw, 470px); color: var(--nx-ink); transform-origin: right bottom;
}
.nx-pair__specimen:nth-child(2) .nx-pair__word b { color: var(--nx-gold-ink); }
.nx-pair__specimen figcaption { font-size: var(--nx-t-m); font-weight: 600; color: var(--nx-text); margin-top: 18px; max-width: 26ch; line-height: 1.7; }

/* ==========================================================================
   4. Film band — the landing video (uploaded in WordPress)
   ========================================================================== */
.nx-film__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.nx-film__title { font-size: var(--nx-t-l); color: #fff; margin: 0 0 18px; }
.nx-film__text { color: var(--nx-on-dark); font-size: var(--nx-t-b); line-height: 2; margin: 0 0 24px; }
.nx-film__meta { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 6px; font-size: 16px; color: var(--nx-on-dark-2); }
.nx-film__meta b { color: #fff; font-weight: 600; margin-inline-end: 6px; }
.nx-film__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--nx-r); overflow: hidden; background: var(--nx-ink); }
.nx-film__frame video, .nx-film__frame iframe, .nx-film__frame img, .nx-film__poster, .nx-film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.nx-film__poster { display: block; }
.nx-film__play {
  position: absolute; z-index: 3; inset: 0; margin: auto; width: 104px; height: 104px; border-radius: 50%;
  border: 0; background: var(--nx-gold); color: var(--nx-ink); cursor: pointer; display: grid; place-items: center;
  transition: transform .25s var(--nx-ease), background-color .2s;
}
.nx-film__play:hover { transform: scale(1.06); background: var(--nx-gold-hover); }
.nx-film__play svg { width: 34px; height: 34px; margin-inline-end: -5px; }
.nx-film.is-playing .nx-film__play, .nx-film.is-playing .nx-film__poster { display: none; }
.nx-film__toggle {
  position: absolute; z-index: 3; inset-inline-end: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: var(--nx-r);
  border: 0; background: var(--nx-gold); color: var(--nx-ink); cursor: pointer; display: grid; place-items: center;
  transition: transform .2s var(--nx-ease), background-color .2s;
}
.nx-film__toggle:hover { background: var(--nx-gold-hover); transform: scale(1.05); }
.nx-film__toggle svg { width: 22px; height: 22px; }
.nx-film__toggle .nx-ico-pause, .nx-film__toggle[aria-pressed="true"] .nx-ico-play { display: none; }
.nx-film__toggle[aria-pressed="true"] .nx-ico-pause { display: block; }
.nx-film__caption { margin-top: 14px; font-size: var(--nx-t-s); color: var(--nx-on-dark-2); }
.nx-upload {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: var(--nx-r);
  background: rgba(255,255,255,.08); color: #fff; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background-color .2s;
}
.nx-upload:hover { background: rgba(255,255,255,.16); }
.nx-upload:focus-within { outline: 3px solid var(--nx-gold); outline-offset: 3px; }
.nx-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.nx-upload svg { width: 18px; height: 18px; }
.nx-upload__note { display: block; font-size: var(--nx-t-s); color: var(--nx-on-dark-2); margin-top: 10px; }

/* ==========================================================================
   5. NEXAI Club — plans as a large table
   ========================================================================== */
.nx-club__intro { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 0 24px; margin-bottom: clamp(36px, 5vw, 64px); align-items: end; }
.nx-club__intro h2 { grid-column: 1 / 8; font-size: clamp(52px, 7.4vw, 124px); line-height: .98; margin: 0; }
.nx-club__intro h2 span { display: block; color: var(--nx-gold-ink); }
.nx-club__intro p { grid-column: 8 / 13; font-size: var(--nx-t-m); line-height: 1.85; margin: 0; }
.nx-tone-gold .nx-club__intro h2 span { color: #fff; }

.nx-tiers { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--nx-t-m); table-layout: fixed; }
.nx-tiers caption { text-align: right; }
.nx-tiers th, .nx-tiers td { padding: 20px 22px; text-align: right; vertical-align: top; line-height: 1.6; }
.nx-tiers thead th { vertical-align: bottom; padding-top: 30px; }
.nx-tiers__corner { width: 30%; font-family: var(--nx-font-display); font-size: var(--nx-t-l); font-weight: 600; color: var(--nx-ink); line-height: 1.1; }
.nx-tiers__name { display: block; font-family: var(--nx-font-display); font-weight: 700; font-size: clamp(30px, 3vw, 46px); color: var(--nx-ink); line-height: 1.1; }
.nx-tiers__price { display: block; font-family: var(--nx-font-display); font-weight: 500; font-size: clamp(26px, 2.6vw, 40px); color: var(--nx-ink); line-height: 1.2; margin-top: 8px; }
.nx-tiers__per { display: block; font-size: 15px; font-weight: 500; color: var(--nx-muted); margin-top: 4px; font-family: var(--nx-font); }
.nx-tiers tbody th { font-weight: 600; color: var(--nx-muted); font-size: 17px; }
.nx-tiers tbody td { color: var(--nx-ink); font-weight: 500; }
.nx-tiers tbody tr:nth-child(odd) > * { background: var(--nx-porcelain); }
.nx-tiers .is-pick { background: var(--nx-gold) !important; }
.nx-tiers thead .is-pick { border-radius: var(--nx-r) var(--nx-r) 0 0; }
.nx-tiers tfoot .is-pick { border-radius: 0 0 var(--nx-r) var(--nx-r); }
.nx-tiers .is-pick .nx-tiers__per { color: #3B3517; }
.nx-tiers__flag { display: inline-block; margin-bottom: 12px; font-size: 14px; font-weight: 700; color: var(--nx-ink); }
.nx-tiers tfoot td { padding-block: 22px 28px; }
.nx-tiers tfoot .nx-btn { width: 100%; }
.nx-tiers .is-pick .nx-btn--gold { background: var(--nx-ink); color: #fff; }
.nx-tiers .is-pick .nx-btn--gold:hover { background: var(--nx-blue); }
.nx-club__after { display: flex; gap: 18px 36px; flex-wrap: wrap; align-items: center; margin-top: 34px; font-size: 16px; color: var(--nx-muted); }

/* ==========================================================================
   6. Platforms — a statement cell beside dark rows
   ========================================================================== */
.nx-split { display: grid; grid-template-columns: 1fr 1fr; }
.nx-split__cell {
  background: var(--nx-porcelain); padding: clamp(48px, 6vw, 96px) var(--nx-gutter);
  display: grid; grid-template-rows: auto 1fr auto; gap: 48px; min-height: 90svh;
}
.nx-split__ui { align-self: center; justify-self: center; width: min(100%, 480px); }
.nx-split__ui .nx-ui { width: 100%; }
.nx-ui__path { margin: 0 0 16px; font-family: var(--nx-font-display); font-size: 30px; font-weight: 600; color: var(--nx-ink); line-height: 1.2; }
.nx-ui__path span { display: block; font-family: var(--nx-font); font-size: 15px; font-weight: 400; color: var(--nx-muted); margin-top: 6px; }
.nx-ui__mods { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nx-ui__mods li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; padding: 12px 14px; border-radius: 8px; background: var(--nx-porcelain); font-size: 15px; }
.nx-ui__mods li.is-now { background: color-mix(in srgb, var(--nx-teal) 14%, #fff); }
.nx-ui__mods small { font-size: 14px; color: var(--nx-muted); }
.nx-ui__mods li.is-done small { color: #0B7A55; font-weight: 700; }
.nx-ui__mods i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: #fff; overflow: hidden; }
.nx-ui__mods i::before { content: ""; display: block; height: 100%; width: var(--v); background: var(--nx-teal); }
.nx-ui--learn .nx-ui__bar b { color: #5FE0D5; }
.nx-split__title { margin: 0; font-size: clamp(40px, 4.6vw, 76px); line-height: 1.05; }
.nx-split__title span { display: block; }
.nx-split__title span:nth-child(2) { text-align: left; color: var(--nx-gold-ink); }
.nx-split__title span:nth-child(3) { display: none; }
.nx-split__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.nx-split__foot p { max-width: 34ch; margin: 0; font-size: var(--nx-t-b); line-height: 2; }
.nx-split__rows { display: grid; grid-auto-rows: 1fr; background: var(--nx-ink); }
.nx-prow {
  display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 24px; padding: clamp(24px, 2.4vw, 34px) clamp(24px, 3vw, 44px);
  background: var(--nx-ink); color: var(--nx-on-dark); align-content: start; transition: background-color .25s var(--nx-ease);
}
.nx-prow:nth-child(even) { background: var(--nx-ink-2); }
.nx-prow:hover { background: var(--nx-blue); }
.nx-prow__title { font-family: var(--nx-font-display); font-weight: 600; font-size: clamp(24px, 2vw, 30px); color: #fff; line-height: 1.25; margin: 0; }
.nx-prow__title a::after { content: ""; position: absolute; inset: 0; }
.nx-prow { position: relative; }
.nx-prow__en { display: block; font-family: var(--nx-font-latin); font-size: 13px; font-weight: 600; color: var(--nx-gold); direction: ltr; text-align: right; margin-top: 6px; }
.nx-prow__badge { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--nx-on-dark); }
.nx-prow__badge i { display: none; }
.nx-prow p { font-size: 16px; line-height: 1.9; margin: 0; }
.nx-prow ul { list-style: none; margin: 0; padding: 0; font-size: 16px; color: var(--nx-on-dark); line-height: 1.7; display: grid; gap: 8px; }

/* ==========================================================================
   7. Programme — a line-up at one type size
   ========================================================================== */
.nx-lineup { font-size: clamp(19px, 1.65vw, 24px); }
.nx-lineup__h { font-family: var(--nx-font-display); font-weight: 600; font-size: 1em; color: var(--nx-gold); margin: 0; padding: 56px 0 14px; position: sticky; top: var(--nx-header-h); background: var(--nx-blue); z-index: 2; }
.nx-lineup__h:first-of-type { padding-top: 0; }
.nx-lineup__title { font-size: var(--nx-t-l); color: #fff; margin: 0 0 8px; }
.nx-lineup__lede { color: #D5DEF4; font-size: var(--nx-t-b); max-width: 60ch; margin: 0 0 48px; }
.nx-lineup__row {
  display: grid; grid-template-columns: 40% 20% minmax(0,1fr) auto; gap: 0 24px; align-items: baseline;
  padding-block: .45em; color: #fff; transition: color .2s;
}
.nx-lineup__row > * { min-width: 0; }
.nx-lineup__row span { color: #D5DEF4; }
.nx-lineup__row time { text-align: left; color: #D5DEF4; font-variant-numeric: tabular-nums; }
.nx-lineup__row b { font-weight: 500; }
.nx-lineup__row:hover b, .nx-lineup__row:focus-visible b { color: var(--nx-gold); }
.nx-lineup__row:hover time { color: #fff; }
.nx-lineup__foot { display: flex; gap: 24px 36px; flex-wrap: wrap; align-items: center; margin-top: 56px; }

/* ==========================================================================
   8. Two-ended rows in a narrow column
   ========================================================================== */
.nx-rows { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px) minmax(0, 1.2fr); gap: 0 clamp(24px, 4vw, 64px); }
.nx-rows__aside { grid-column: 3; align-self: start; position: sticky; top: calc(var(--nx-header-h) + 32px); }
.nx-rows__col { grid-column: 2; grid-row: 1; }
.nx-rows__title { font-family: var(--nx-font-display); font-size: var(--nx-t-l); margin: 0 0 32px; }
.nx-rows__group { font-size: 16px; color: var(--nx-muted); margin: 40px 0 6px; font-weight: 600; }
.nx-rows__group:first-of-type { margin-top: 0; }
.nx-rows ul { list-style: none; margin: 0; padding: 0; }
.nx-rows li a {
  display: grid; grid-template-columns: 14px minmax(0,1fr) auto; gap: 12px; align-items: baseline;
  padding: 8px 0; font-size: 17px; color: var(--nx-ink); line-height: 1.7; transition: color .2s;
}
.nx-rows li a::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--nx-accent, var(--nx-gold)); transform: translateY(1px); transition: transform .2s var(--nx-ease); }
.nx-rows li a:hover { color: var(--nx-gold-ink); }
.nx-rows li a:hover::before { transform: translateY(1px) scale(1.35); }
.nx-rows li small { font-size: 15px; color: var(--nx-muted); white-space: nowrap; }
.nx-rows__more { margin-top: 28px; display: flex; gap: 28px; flex-wrap: wrap; }
.nx-rows__aside h3 { font-size: 1.7rem; margin-bottom: 8px; }
.nx-rows__aside p { color: var(--nx-muted); font-size: 16px; line-height: 1.95; }

/* ==========================================================================
   9. The close — the idea again, inverted
   ========================================================================== */
.nx-close { min-height: 86svh; display: grid; grid-template-rows: 1fr auto; padding-block: clamp(64px, 9vw, 120px) clamp(72px, 9vw, 128px); }
.nx-close__title { margin: 0; font-size: clamp(56px, 10vw, 168px); line-height: .95; color: var(--nx-gold); max-width: 12ch; }
.nx-close__title span { display: block; color: #fff; }
.nx-close__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.nx-close__foot p { font-size: var(--nx-t-m); color: var(--nx-on-dark); max-width: 46ch; margin: 0; line-height: 1.85; }
.nx-close__foot .nx-btn { min-height: 58px; padding-inline: 32px; font-size: 16.5px; }

/* ==========================================================================
   Platforms, events, insights (inner pages)
   ========================================================================== */
.nx-plats { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 10px; }
.nx-plat {
  position: relative; display: flex; flex-direction: column; background: var(--nx-porcelain);
  border-radius: var(--nx-r); padding: 30px 28px 28px; overflow: hidden;
  transition: background-color .25s var(--nx-ease), transform .25s var(--nx-ease);
}
.nx-sec--mist .nx-plat { background: #fff; }
.nx-plat::before { content: ""; display: block; width: 44px; height: 6px; border-radius: 6px; margin-bottom: 22px; background: var(--nx-accent, var(--nx-ink)); }
.nx-plat:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--nx-accent, #fff) 8%, #fff); }
.nx-plat__badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  position: absolute; top: 24px; inset-inline-end: 24px;
  font-size: 13.5px; font-weight: 600; color: var(--nx-muted);
}
.nx-plat__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--nx-accent, var(--nx-teal)); }
.nx-plat__title { font-size: 1.6rem; margin-bottom: 4px; }
.nx-plat__title a:hover { color: var(--nx-gold-ink); }
.nx-plat__en { display: block; font-family: var(--nx-font-latin); font-size: 13px; color: var(--nx-muted); direction: ltr; text-align: right; margin-bottom: 12px; }
.nx-plat__desc { font-size: 16px; color: var(--nx-muted); line-height: 1.95; }
.nx-plat__foot { margin-top: auto; padding-top: 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.nx-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.nx-stat { padding: 34px 28px; background: var(--nx-ink-2); border-radius: var(--nx-r); }
.nx-stat__n { font-family: var(--nx-font-display); font-size: clamp(2.6rem, 4.4vw, 4rem); font-weight: 700; color: var(--nx-gold); line-height: 1; }
.nx-stat__l { font-size: 16px; color: var(--nx-on-dark); margin-top: 14px; line-height: 1.8; }

.nx-insights { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px 40px; }
.nx-insights > :first-child { grid-row: span 3; }
.nx-card { display: flex; flex-direction: column; }
.nx-card__media {
  position: relative; display: block; overflow: hidden; border-radius: var(--nx-r);
  aspect-ratio: 16 / 10; margin-bottom: 18px; background: var(--nx-ink);
}
.nx-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--nx-ease); }
.nx-card:hover .nx-card__media img { transform: scale(1.04); }
.nx-card__ph { position: absolute; inset: 0; background: var(--nx-ink); display: grid; place-items: center; }
.nx-card__ph::after {
  content: ""; width: 46%; aspect-ratio: 1; border-radius: 50%;
  border: 3px solid var(--nx-gold);
}
.nx-insights > :nth-child(3n+2) .nx-card__ph { background: var(--nx-blue); }
.nx-insights > :nth-child(3n) .nx-card__ph { background: var(--nx-gold); }
.nx-insights > :nth-child(3n) .nx-card__ph::after { border-color: var(--nx-ink); }
.nx-card__tag {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2;
  background: #fff; color: var(--nx-ink); font-size: 13.5px; font-weight: 700;
  padding: 6px 12px; border-radius: var(--nx-r);
}
.nx-card__meta { font-size: 14px; color: var(--nx-muted); margin-bottom: 6px; }
.nx-card__title { font-size: 1.55rem; line-height: 1.4; margin-bottom: 8px; }
.nx-insights > :first-child .nx-card__title { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.nx-card__title a:hover { color: var(--nx-gold-ink); }
.nx-card__ex { font-size: 16px; color: var(--nx-muted); line-height: 1.95; margin: 0 0 14px; }
.nx-card > .nx-textlink { align-self: flex-start; }
.nx-insights > :first-child .nx-card__media { aspect-ratio: 16 / 9; }
.nx-insights > :not(:first-child) { display: grid; grid-template-columns: 150px minmax(0,1fr); column-gap: 20px; align-content: start; }
.nx-insights > :not(:first-child) .nx-card__media { grid-row: span 4; aspect-ratio: 1; margin: 0; }
.nx-insights > :not(:first-child) .nx-card__tag { display: none; }
.nx-insights > :not(:first-child) .nx-card__title { font-size: 1.3rem; }
.nx-insights > :not(:first-child) .nx-card__ex { display: none; }
.nx-insights > :not(:first-child) .nx-textlink { justify-self: start; font-size: 14px; }

.nx-newslist { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.nx-newsitem { display: block; padding: 24px 26px; background: var(--nx-porcelain); border-radius: var(--nx-r); transition: background-color .2s; }
.nx-newsitem:hover { background: var(--nx-porcelain-2); }
.nx-newsitem__meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--nx-muted); margin-bottom: 8px; }
.nx-newsitem__kind { color: var(--nx-gold-ink); font-weight: 700; }
.nx-newsitem__title { display: block; font-weight: 700; font-size: 1.12rem; color: var(--nx-ink); line-height: 1.75; margin-bottom: 6px; transition: color .2s; }
.nx-newsitem:hover .nx-newsitem__title { color: var(--nx-gold-ink); }
.nx-newsitem__ex { display: block; font-size: 15px; color: var(--nx-muted); line-height: 1.9; }

.nx-events { display: grid; gap: 10px; }
.nx-event { display: grid; grid-template-columns: 230px minmax(0,1fr) 190px; gap: 28px; padding: 30px 30px; background: var(--nx-porcelain); border-radius: var(--nx-r); align-items: start; }
.nx-event__date { display: block; font-family: var(--nx-font-display); font-weight: 700; color: var(--nx-ink); font-size: 1.75rem; line-height: 1.25; }
.nx-event__venue { display: block; font-size: 14.5px; color: var(--nx-muted); margin-top: 6px; }
.nx-event__title { font-size: 1.7rem; margin-bottom: 6px; }
.nx-event__title a:hover { color: var(--nx-gold-ink); }
.nx-event__main p { font-size: 16px; color: var(--nx-muted); margin: 0; line-height: 1.95; }
.nx-event__go { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* ==========================================================================
   Newsletter, bands (inner pages)
   ========================================================================== */
.nx-news { background: var(--nx-porcelain); border-radius: var(--nx-r); padding: clamp(28px, 4vw, 48px); }
.nx-news__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px, 460px); gap: 32px; align-items: center; }
.nx-news h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }

.nx-band { position: relative; overflow: hidden; background: var(--nx-gold); color: var(--nx-ink); }
.nx-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.nx-band h2 { color: var(--nx-ink); margin-bottom: 10px; }
.nx-band p { color: #2B2A1E; margin: 0; max-width: 60ch; }
.nx-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.nx-band .nx-btn--gold { background: var(--nx-ink); color: #fff; }
.nx-band .nx-btn--gold:hover { background: var(--nx-blue); }
.nx-band .nx-btn--ghost { border-color: var(--nx-ink); color: var(--nx-ink); }
.nx-band .nx-btn--ghost:hover { background: var(--nx-ink); color: #fff; }

/* ==========================================================================
   Forms
   ========================================================================== */
.nx-form { display: flex; gap: 10px; flex-wrap: wrap; }
.nx-form input[type="email"], .nx-form input[type="text"], .nx-form input[type="tel"],
.nx-form input[type="search"], .nx-form input[type="password"], .nx-form textarea, .nx-form select,
.nx-formbox input, .nx-formbox select, .nx-formbox textarea, .nx-book input[type="text"], .nx-book input[type="email"],
.nx-book input[type="tel"], .nx-book select, .nx-book textarea, .login-username input, .login-password input {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 2px solid transparent; background: var(--nx-porcelain); border-radius: var(--nx-r);
  font-size: 16px; color: var(--nx-ink); transition: border-color .2s, background-color .2s;
}
.nx-formbox select, .nx-book select, .nx-form select { background-color: var(--nx-porcelain); color: var(--nx-ink); }
.nx-sec--mist :is(.nx-form, .nx-formbox, .nx-book) :is(input, select, textarea) { background-color: #fff; }
.nx-form > input, .nx-form > select { flex: 1 1 200px; width: auto; }
textarea { min-height: 140px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--nx-gold); outline-offset: 1px; border-color: var(--nx-ink) !important; background-color: #fff !important; }
::placeholder { color: #7C8499; }
.nx-form__note { font-size: var(--nx-t-s); color: var(--nx-muted); margin-top: 10px; width: 100%; display: block; }
.nx-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.nx-field { display: flex; flex-direction: column; gap: 8px; }
.nx-field label { font-size: 14.5px; font-weight: 600; color: var(--nx-ink); }
.nx-field--full { grid-column: 1 / -1; }

.nx-formbox, .nx-book { background: #fff; border-radius: var(--nx-r); padding: clamp(24px, 4vw, 48px); }
.nx-sec:not(.nx-sec--mist) :is(.nx-formbox, .nx-book) { background: var(--nx-porcelain); }
.nx-sec:not(.nx-sec--mist) :is(.nx-formbox, .nx-book) :is(input, select, textarea) { background-color: #fff; }
.nx-formbox__step { font-family: var(--nx-font-display); font-size: 1.6rem; font-weight: 600; color: var(--nx-ink); margin: 40px 0 16px; }
.nx-formbox__step:first-of-type { margin-top: 0; }
.nx-hp { position: absolute; inset-inline-start: -9999px; height: 0; overflow: hidden; }

.nx-notice { padding: 16px 20px; border-radius: var(--nx-r); font-weight: 600; margin-bottom: 26px; font-size: 16px; }
.nx-notice--ok { background: #E3F4EC; color: #11593D; }
.nx-notice--err { background: #FBE7E7; color: #7E1717; }

/* tier picker on the club form */
.nx-tierpick { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-bottom: 8px; }
.nx-tierpick label {
  position: relative; display: block; padding: 20px 22px; border-radius: var(--nx-r); background: #fff; cursor: pointer;
  transition: background-color .2s, transform .2s var(--nx-ease);
}
.nx-sec:not(.nx-sec--mist) .nx-tierpick label { background: #fff; }
.nx-tierpick label:hover { transform: translateY(-2px); }
.nx-tierpick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nx-tierpick b { display: block; font-family: var(--nx-font-display); font-size: 1.6rem; color: var(--nx-ink); line-height: 1.2; }
.nx-tierpick span { display: block; font-size: 14.5px; color: var(--nx-muted); margin-top: 6px; }
.nx-tierpick label:has(input:checked) { background: var(--nx-gold); }
.nx-tierpick label:has(input:checked) span { color: #2B2A1E; }
.nx-tierpick label:has(input:focus-visible) { outline: 3px solid var(--nx-ink); outline-offset: 2px; }

/* booking calendar — tiles instead of ruled cells */
.nx-cal { overflow: auto; border-radius: var(--nx-r); }
.nx-cal__head, .nx-cal__row { display: grid; grid-template-columns: 140px repeat(7, minmax(96px, 1fr)); gap: 4px; }
.nx-cal__row { margin-top: 4px; }
.nx-cal__head > * { background: var(--nx-ink); color: #fff; border-radius: 7px; }
.nx-cal__corner, .nx-cal__day { padding: 14px 8px; text-align: center; font-size: 14px; }
.nx-cal__corner { color: var(--nx-gold); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.nx-cal__day b { display: block; font-size: 15px; font-weight: 700; }
.nx-cal__day i { display: block; font-style: normal; font-size: 13px; color: var(--nx-on-dark-2); margin-top: 2px; }
.nx-cal__day.is-closed { background: var(--nx-ink-2); color: #8C98B4; }
.nx-cal__time { padding: 12px 10px; font-size: 14px; font-weight: 700; color: var(--nx-ink); background: var(--nx-porcelain-2); border-radius: 7px; display: flex; align-items: center; justify-content: center; }
.nx-cal__cell {
  position: relative; min-height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 7px;
  background: #fff; font-size: 14px; color: var(--nx-muted); cursor: pointer; transition: background-color .15s, color .15s, transform .15s;
}
.nx-sec:not(.nx-sec--mist) .nx-cal__cell { background: var(--nx-porcelain); }
.nx-cal__cell:hover { background: color-mix(in srgb, var(--nx-gold) 30%, #fff) !important; color: var(--nx-ink); }
.nx-cal__cell input { position: absolute; opacity: 0; width: 0; height: 0; }
.nx-cal__cell:has(input:checked) { background: var(--nx-gold) !important; color: var(--nx-ink); font-weight: 700; }
.nx-cal__cell:has(input:focus-visible) { outline: 3px solid var(--nx-ink); outline-offset: -3px; }
.nx-cal__cell.is-closed { background: var(--nx-porcelain-2) !important; color: #8A92A6; cursor: not-allowed; }
.nx-cal__note { margin-top: 16px; font-size: 16px; color: var(--nx-muted); }
.nx-cal__note b { color: var(--nx-ink); }

/* ==========================================================================
   Page header + content (inner pages)
   ========================================================================== */
.nx-phead { position: relative; overflow: hidden; background: var(--nx-ink); color: #fff; padding-block: clamp(64px, 8vw, 120px) clamp(56px, 7vw, 104px); }
.nx-phead .nx-wrap { position: relative; z-index: 2; }
.nx-phead h1 { color: #fff; font-size: clamp(2.6rem, 5.6vw, 5.4rem); line-height: 1.1; margin: 22px 0 18px; max-width: 18ch; }
.nx-phead p { color: var(--nx-on-dark); max-width: 60ch; margin: 0; font-size: var(--nx-t-m); line-height: 1.85; }
.nx-phead .nx-chip { background: rgba(255,255,255,.1); color: #fff; margin-top: 18px; }
.nx-phead__brand { color: var(--nx-gold) !important; font-size: 15px !important; margin: 0 0 8px !important; }
.nx-phead__brand b { font-weight: 700; margin-inline-end: 14px; }
.nx-crumbs { font-size: var(--nx-t-s); color: var(--nx-on-dark-2); }
.nx-crumbs a { color: var(--nx-on-dark); transition: color .2s; }
.nx-crumbs a:hover { color: #fff; }
.nx-crumbs span { margin-inline: 8px; color: rgba(255,255,255,.4); }

.nx-content { max-width: 780px; }
.nx-content h2 { font-size: clamp(1.9rem, 2.8vw, 2.4rem); margin-top: 1.6em; }
.nx-content h2:first-child { margin-top: 0; }
.nx-content h3 { font-size: 1.55rem; margin-top: 1.4em; }
.nx-content ul { list-style: none; padding: 0; }
.nx-content ul li { position: relative; padding-inline-start: 24px; margin-bottom: .55em; }
.nx-content ul li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .8em; width: 9px; height: 9px; border-radius: 50%; background: var(--nx-gold); }
.nx-content ol li { margin-bottom: .55em; }
.nx-content ol li::marker { color: var(--nx-gold-ink); font-weight: 700; }
.nx-content blockquote { margin: 2em 0; padding: 24px 28px; background: var(--nx-porcelain); border-radius: var(--nx-r); font-family: var(--nx-font-display); font-size: 1.5rem; line-height: 1.5; color: var(--nx-ink); }
.nx-content img { margin-block: 1.5em; border-radius: var(--nx-r); }
.nx-content table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.6em 0; font-size: 16px; }
.nx-content th { background: var(--nx-ink); color: #fff; font-weight: 700; }
.nx-content th, .nx-content td { padding: 13px 16px; text-align: right; }
.nx-content tbody tr:nth-child(even) td { background: var(--nx-porcelain); }

.nx-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.nx-aside { position: sticky; top: calc(var(--nx-header-h) + 24px); display: grid; gap: 10px; }
.nx-aside__box { border-radius: var(--nx-r); padding: 26px; background: var(--nx-porcelain); }
.nx-aside__box h4 { font-size: 16px; margin-bottom: 12px; }
.nx-aside__list { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nx-aside__list li { padding: 7px 0; line-height: 1.7; }
.nx-aside__list a { transition: color .2s; }
.nx-aside__list a:hover { color: var(--nx-gold-ink); }

.nx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 0 0 40px; }
.nx-fact { background: var(--nx-porcelain); border-radius: var(--nx-r); padding: 20px 22px; }
.nx-fact__k { font-size: 14px; color: var(--nx-muted); margin-bottom: 4px; }
.nx-fact__v { font-weight: 700; color: var(--nx-ink); font-size: 16px; line-height: 1.75; }

.nx-pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.nx-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; background: var(--nx-porcelain); border-radius: var(--nx-r); font-size: 15px; font-weight: 600; padding-inline: 14px; }
.nx-pager .page-numbers:hover, .nx-pager .current { background: var(--nx-ink); color: #fff; }

/* login form from wp_login_form() */
.login-username, .login-password, .login-remember { margin: 0 0 16px; }
.login-username label, .login-password label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; color: var(--nx-ink); }
.login-submit input { min-height: 52px; padding: 0 30px; border: 0; border-radius: var(--nx-r); background: var(--nx-gold); color: var(--nx-ink); font-weight: 700; font-size: 16px; cursor: pointer; }

/* ==========================================================================
   Members' desk
   ========================================================================== */
.nx-desk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(28px, 4vw, 64px); align-items: start; }
.nx-desk__hello { font-size: var(--nx-t-l); margin: 0 0 8px; }
.nx-desk__sub { font-size: var(--nx-t-m); color: var(--nx-muted); margin: 0 0 36px; }
.nx-perks { display: grid; gap: 6px; }
.nx-perk {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center;
  padding: 22px 24px; border-radius: var(--nx-r); background: var(--nx-porcelain);
}
.nx-perk:nth-child(even) { background: var(--nx-porcelain-2); }
.nx-perk h3 { font-size: 1.5rem; margin: 0; }
.nx-perk p { grid-column: 1; margin: 0; font-size: 16px; color: var(--nx-muted); line-height: 1.85; }
.nx-perk__act { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.nx-perk__meter { font-size: 14px; color: var(--nx-ink); font-weight: 600; white-space: nowrap; }
.nx-perk__meter i { display: block; width: 140px; height: 6px; border-radius: 6px; background: #fff; margin-top: 6px; overflow: hidden; }
.nx-perk__meter i::before { content: ""; display: block; height: 100%; width: var(--v, 50%); background: var(--nx-gold); }
.nx-mcard {
  position: relative; aspect-ratio: 1.586; border-radius: 16px; overflow: hidden; padding: 26px 28px;
  background: var(--nx-ink); color: #fff; display: grid; grid-template-rows: auto 1fr auto;
}
.nx-mcard.is-senior { background: var(--nx-gold); color: var(--nx-ink); }
.nx-mcard.is-circle { background: var(--nx-night); }
.nx-mcard__ring { position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; inset-inline-start: -22%; bottom: -46%; border: 3px solid var(--nx-gold); }
.nx-mcard.is-senior .nx-mcard__ring { border-color: var(--nx-ink); }
.nx-mcard__top { display: flex; justify-content: space-between; align-items: center; position: relative; }
.nx-mcard__top .nx-word, .nx-mcard__top .nx-word__lambda { color: inherit; font-size: 17px; }
.nx-mcard__tier { font-family: var(--nx-font-display); font-size: 1.6rem; font-weight: 700; color: var(--nx-gold); }
.nx-mcard.is-senior .nx-mcard__tier { color: var(--nx-ink); }
.nx-mcard__name { align-self: end; font-family: var(--nx-font-display); font-size: clamp(1.7rem, 2.4vw, 2.2rem); font-weight: 600; position: relative; }
.nx-mcard__foot { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; position: relative; opacity: .9; }
.nx-desk__side { display: grid; gap: 10px; position: sticky; top: calc(var(--nx-header-h) + 24px); }
.nx-desk__box { background: var(--nx-porcelain); border-radius: var(--nx-r); padding: 24px 26px; }
.nx-desk__box h3 { font-size: 1.4rem; margin-bottom: 8px; }
.nx-desk__box p { font-size: 16px; color: var(--nx-muted); margin: 0 0 14px; }
.nx-desk__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nx-desk__list li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding: 5px 0; }
.nx-desk__list li span { color: var(--nx-muted); }
.nx-gate { max-width: 760px; }
.nx-gate h2 { font-size: var(--nx-t-l); }
.nx-locked { margin: 32px 0; padding: 28px 30px; border-radius: var(--nx-r); background: var(--nx-gold); color: var(--nx-ink); }
.nx-locked h3 { font-size: 1.7rem; margin-bottom: 6px; }
.nx-locked p { margin: 0 0 16px; }
.nx-locked .nx-btn--gold { background: var(--nx-ink); color: #fff; }

/* ==========================================================================
   Footer — the name first, places under it
   ========================================================================== */
.nx-footer { position: relative; overflow: hidden; background: var(--nx-night); color: var(--nx-on-dark); font-size: 16px; padding-top: clamp(56px, 7vw, 104px); }
.nx-footer__name {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2vw; direction: ltr;
  font-family: var(--nx-font-latin); font-weight: 600; color: var(--nx-gold); line-height: .8;
  font-size: clamp(64px, 17.5vw, 260px); letter-spacing: .02em; margin: 0;
}
.nx-footer__name span { display: block; }
.nx-footer__name svg { height: .72em; width: .66em; color: var(--nx-gold); flex: none; }
.nx-footer__statement {
  font-family: var(--nx-font-display); font-weight: 600; color: #D8DCE6;
  font-size: var(--nx-t-m); line-height: 1.6; margin: 28px 0 0; max-width: 60ch;
}
.nx-footer__top { padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 72px); }
.nx-footer__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; }
.nx-footer__places { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nx-footer__places a, .nx-footer__places span { display: inline-block; font-family: var(--nx-font-display); font-weight: 600; font-size: clamp(24px, 2.4vw, 34px); color: var(--nx-gold); line-height: 1.35; transition: color .2s; }
.nx-footer__places a:hover { color: #fff; }
.nx-footer__places .nx-lat { font-family: var(--nx-font-latin); font-size: clamp(19px, 1.8vw, 26px); font-weight: 600; }
.nx-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
.nx-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.nx-footer ul { list-style: none; margin: 0; padding: 0; }
.nx-footer li { margin-bottom: 9px; line-height: 1.75; }
.nx-footer a { transition: color .2s; }
.nx-footer a:hover { color: #fff; }
.nx-footer__about p { line-height: 2; margin-bottom: 18px; max-width: 42ch; }
.nx-footer__news { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px 40px; align-items: center; }
.nx-footer__news h4 { margin: 0 0 4px; font-size: 17px; }
.nx-footer__news p { margin: 0; font-size: 14.5px; }
.nx-footer__news .nx-form input { background: rgba(255,255,255,.08); color: #fff; }
.nx-footer__news .nx-form input::placeholder { color: var(--nx-on-dark-2); }
.nx-social { display: flex; gap: 8px; margin-top: 22px; }
.nx-social a { width: 44px; height: 44px; background: rgba(255,255,255,.07); border-radius: var(--nx-r); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.nx-social a:hover { background: var(--nx-gold); color: var(--nx-ink); }
.nx-social svg { width: 17px; height: 17px; }
.nx-footer__bottom { padding-block: 26px 30px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13.5px; }
.nx-footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.nx-footer__credits { font-size: 13.5px; color: var(--nx-on-dark-2); padding-bottom: 24px; margin: 0; }
.nx-totop { font-weight: 600; color: #fff; }

/* ==========================================================================
   Legacy components kept working (older templates)
   ========================================================================== */
.nx-hero { background: var(--nx-ink); color: #fff; padding-block: clamp(56px, 7vw, 96px); }
.nx-hero__grid-lines, .nx-rail { display: none; }
.nx-hero__title { color: #fff; }
.nx-hero__text { color: var(--nx-on-dark); }
.nx-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nx-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.nx-brand { display: flex; flex-direction: column; padding: 24px; border-radius: var(--nx-r); background: var(--nx-porcelain); }
.nx-brand.is-dim, .nx-mx.is-dim { opacity: .35; }
.nx-chain { background: var(--nx-night); padding-block: 40px; }
.nx-stage { background: none; border: 0; color: #fff; cursor: pointer; font-family: inherit; }

/* ==========================================================================
   Motion layer — entrances for the parts of each section
   Content is only hidden once the script has marked it as below the fold,
   so nothing stays invisible if the script never runs.
   ========================================================================== */
.nx-motion .is-pending [data-rise] { opacity: 0; transform: translateY(26px); }
.nx-motion .is-in [data-rise] {
  opacity: 1; transform: none;
  transition: opacity .7s var(--nx-ease), transform .8s var(--nx-ease);
  transition-delay: calc(var(--d, 0) * 75ms);
}
.nx-reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .nx-motion .is-pending [data-rise] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1260px) {
  .nx-matrix--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nx-mega__grid--5 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .nx-nav > ul > li > a { padding: 0 9px; font-size: 15px; }
  .nx-header__inner { gap: 18px; }
}
@media (max-width: 1080px) {
  .nx-ring__grid { grid-template-columns: 1fr; }
  .nx-orbit { width: min(100%, 560px); }
  .nx-mega__inner { grid-template-columns: 1fr; gap: 20px; }
  .nx-layout, .nx-desk { grid-template-columns: 1fr; }
  .nx-aside, .nx-desk__side { position: static; }
  .nx-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nx-matrix--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-matrix--rows .nx-mx, .nx-matrix--rows.is-view-services .nx-mx { grid-template-columns: 150px minmax(0,1fr); gap: 10px 18px; }
  .nx-matrix--rows .nx-mx__service, .nx-matrix--rows .nx-mx__go { grid-column: 2 / -1; text-align: start; }
  .nx-event { grid-template-columns: 180px minmax(0,1fr); }
  .nx-event__go { grid-column: 2; flex-direction: row; align-items: center; }
  .nx-insights { grid-template-columns: 1fr; }
  .nx-insights > :first-child { grid-row: auto; }
  .nx-split { grid-template-columns: 1fr; }
  .nx-split__cell { min-height: 0; }
  .nx-split__ui { justify-self: stretch; width: 100%; max-width: 480px; }
  .nx-film__grid { grid-template-columns: 1fr; }
  .nx-rows { grid-template-columns: minmax(0, 1fr); }
  .nx-rows__col, .nx-rows__aside { grid-column: 1; grid-row: auto; position: static; }
  .nx-rows__aside { margin-top: 48px; max-width: 560px; }
  .nx-footer__grid { grid-template-columns: 1fr; }
  .nx-slide.has-media { grid-template-columns: 1fr; grid-template-rows: 1fr 38%; }
  .nx-slide.has-media .nx-slide__media { grid-row: 2; }
  .nx-slide.has-media .nx-slide__body { padding-bottom: 32px; }
  .nx-show.has-media-current .nx-show__bar { --bar-ink: #fff; }
}
@media (max-width: 900px) {
  :root { --nx-header-h: 66px; }
  .nx-nav, .nx-header__cta .nx-btn, .nx-iconbtn { display: none; }
  .nx-burger { display: flex; }
  .nx-header__inner { justify-content: space-between; }
  .nx-utility__links { display: none; }
  .nx-lenses { grid-template-columns: 1fr; gap: 10px; }
  .nx-triple { grid-template-columns: 1fr; }
  .nx-news__grid, .nx-footer__news { grid-template-columns: 1fr; }
  .nx-newslist { grid-template-columns: 1fr; }
  .nx-viewbar__note { display: none; }
  .nx-viewbar__tabs { width: 100%; }
  .nx-viewtab { flex: 1 1 0; white-space: nowrap; padding: 0 8px; font-size: 14px; }
  .nx-pair__head h2, .nx-pair__head p { grid-column: 1 / -1; }
  .nx-pair__head p { margin-top: 16px; }
  .nx-club__intro h2, .nx-club__intro p { grid-column: 1 / -1; }
  .nx-club__intro p { margin-top: 18px; }
  .nx-tierpick { grid-template-columns: 1fr; }
  .nx-mobilecta {
    display: flex; align-items: center; justify-content: center; position: fixed; z-index: 150;
    inset-inline: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); min-height: 54px;
    border-radius: var(--nx-r); background: var(--nx-gold); color: var(--nx-ink); font-weight: 700; font-size: 16px;
    transform: translateY(calc(100% + 30px)); transition: transform .3s var(--nx-ease);
  }
  .nx-mobilecta.is-shown { transform: none; }
  .nx-mobilecta.is-off { display: none; }
  body { padding-bottom: 84px; }
  .nx-footer__cols { grid-template-columns: 1fr 1fr; }
}

/* the club table becomes one block per plan */
@media (max-width: 860px) {
  .nx-tiers, .nx-tiers tbody, .nx-tiers tr, .nx-tiers th, .nx-tiers td { display: block; }
  .nx-tiers thead, .nx-tiers tfoot { display: none; }
  .nx-tiers tbody tr:nth-child(odd) > * { background: none; }
  .nx-tiers .is-pick { background: none !important; }
}
.nx-tierblocks { display: none; }
@media (max-width: 860px) {
  .nx-tiers { display: none; }
  .nx-tierblocks { display: grid; gap: 40px; }
  .nx-tierblock { background: var(--nx-porcelain); border-radius: var(--nx-r); padding: 26px 22px; }
  .nx-tone-light .nx-tierblock { background: #fff; }
  .nx-tierblock.is-pick { background: var(--nx-gold); }
  .nx-tierblock h3 { font-size: 9vw; line-height: 1.05; margin: 0; }
  .nx-tierblock__price { font-family: var(--nx-font-display); font-size: 7vw; color: var(--nx-ink); line-height: 1.2; margin: 6px 0 18px; }
  .nx-tierblock__price small { display: block; font-family: var(--nx-font); font-size: 15px; color: var(--nx-muted); }
  .nx-tierblock.is-pick .nx-tierblock__price small { color: #3B3517; }
  .nx-tierblock dl { margin: 0 0 20px; display: grid; gap: 12px; }
  .nx-tierblock dt { font-size: 15px; color: var(--nx-muted); }
  .nx-tierblock.is-pick dt { color: #3B3517; }
  .nx-tierblock dd { margin: 0; font-size: 17px; color: var(--nx-ink); font-weight: 600; }
  .nx-tierblock .nx-btn { width: 100%; }
  .nx-tierblock.is-pick .nx-btn--gold { background: var(--nx-ink); color: #fff; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nx-matrix--grid { grid-template-columns: 1fr; }
  .nx-orbit { --r: 30%; width: calc(100% + 2 * var(--nx-gutter)); max-width: none; margin-inline: calc(-1 * var(--nx-gutter)); }
  .nx-orbit__label b { font-size: 13px; }
  .nx-orbit__label i { display: none; }
  .nx-orbit__node[data-side="right"] .nx-orbit__label { left: 14px; }
  .nx-orbit__node[data-side="left"] .nx-orbit__label { right: 14px; }
  .nx-orbit__dot { width: 20px; height: 20px; }
  .nx-orbit__rest .nx-logo__mark { width: 34px; height: 34px; margin-bottom: 4px; }
  .nx-orbit__rest strong, .nx-orbit__detail strong { font-size: 1.1rem; }
  .nx-orbit__rest span, .nx-orbit__detail span { display: none; }
  .nx-ring__lenses div { grid-template-columns: 1fr; gap: 2px; }
  .nx-stats { grid-template-columns: 1fr; }
  .nx-band__inner { flex-direction: column; align-items: flex-start; }
  .nx-event { grid-template-columns: 1fr; gap: 10px; padding: 24px 22px; }
  .nx-event__go { grid-column: 1; }
  .nx-insights > :not(:first-child) { grid-template-columns: 104px minmax(0,1fr); }
  .nx-cal__head, .nx-cal__row { grid-template-columns: 96px repeat(7, 82px); }
  .nx-matrix--rows .nx-mx, .nx-matrix--rows.is-view-services .nx-mx { grid-template-columns: minmax(0,1fr); }
  .nx-matrix--rows .nx-mx__stage, .nx-matrix--rows .nx-mx__unit, .nx-matrix--rows .nx-mx__service, .nx-matrix--rows .nx-mx__go { grid-column: 1; }

  .nx-show { --show-h: max(560px, calc(100svh - var(--nx-header-h) - 40px)); }
  .nx-slide__body { padding: 15svh 16px 128px; }
  .nx-slide__title { font-size: clamp(44px, 13vw, 64px); max-width: none; }
  .nx-slide.has-media .nx-slide__title { font-size: clamp(38px, 11vw, 54px); }
  .nx-slide__text { font-size: 16px; }
  .nx-slide__actions { width: 100%; }
  .nx-slide__actions .nx-btn { flex: 1 1 100%; }
  .nx-show__tab span { display: none; }
  .nx-show__tab { min-height: 44px; justify-content: flex-end; padding: 0 0 14px; }
  .nx-show__bar { padding-inline: 16px; }
  .nx-show__count { min-width: 52px; }

  .nx-pair__specimens { grid-template-columns: 1fr; gap: 10px; }
  .nx-pair__word { height: 30svh; }
  .nx-pair__word b { font-size: 56vw; }
  .nx-pair__specimen:nth-child(2) { background: var(--nx-ink); border-radius: var(--nx-r); padding: 10px 18px 20px; }
  .nx-pair__specimen:nth-child(2) figcaption { color: #fff; }
  .nx-pair__specimen:nth-child(2) .nx-pair__word b { color: var(--nx-gold); }

  .nx-prow { grid-template-columns: 1fr; gap: 10px; }
  .nx-prow ul { display: block; }
  .nx-prow ul li { display: inline; }
  .nx-prow ul li + li::before { content: "، "; }

  .nx-lineup__row { grid-template-columns: minmax(0,1fr) auto; row-gap: 2px; padding-block: 9px; }
  .nx-lineup__row b { grid-column: 1 / -1; font-size: 21px; }
  .nx-lineup__row span, .nx-lineup__row time { font-size: 14px; }
  .nx-lineup__row span:nth-of-type(1) { display: none; }

  .nx-rows li a { grid-template-columns: 14px minmax(0,1fr); min-height: 44px; }
  .nx-rows li small { grid-column: 2; white-space: normal; font-size: 14px; }

  .nx-close { min-height: 80svh; }
  .nx-close__title { font-size: 15vw; }
  .nx-close__foot .nx-btn { width: 100%; }

  .nx-footer__cols { grid-template-columns: 1fr 1fr; }
  .nx-perk { grid-template-columns: 1fr; }
  .nx-perk__act { grid-column: 1; grid-row: auto; align-items: flex-start; }
}

/* WordPress core helpers */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .wp-block-image figcaption { font-size: 13.5px; color: var(--nx-muted); text-align: center; }
.sticky, .gallery-caption, .bypostauthor { display: block; }

/* FAQ */
.nx-faq { display: grid; gap: 6px; max-width: 900px; }
.nx-faq details { background: #fff; border-radius: var(--nx-r); }
.nx-faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--nx-font-display); font-size: 1.45rem; font-weight: 600; color: var(--nx-ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.nx-faq summary::-webkit-details-marker { display: none; }
.nx-faq summary::after { content: "+"; font-family: var(--nx-font-latin); font-size: 1.4rem; color: var(--nx-gold-ink); transition: transform .25s var(--nx-ease); }
.nx-faq details[open] summary::after { transform: rotate(45deg); }
.nx-faq details p { padding: 0 24px 22px; margin: 0; color: var(--nx-muted); }

/* ==========================================================================
   Interface fragments (real screens of NEXAI's own products, built in HTML)
   ========================================================================== */
.nx-slide__media--ui { display: grid !important; place-items: center; background: transparent !important; padding: clamp(32px, 5vw, 80px) clamp(24px, 4vw, 64px) 140px; }
.nx-ui { width: min(100%, 480px); font-size: 15px; }
.nx-ui--card .nx-mcard { width: 100%; }
.nx-ui--card .nx-mcard.is-pro { background: var(--nx-ink); color: #fff; }
.nx-ui__lines { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; }
.nx-ui__lines li { background: rgba(10,22,48,.1); color: var(--nx-ink); border-radius: var(--nx-r); padding: 12px 16px; font-size: 16px; }
.nx-ui__lines b { font-weight: 800; margin-inline-end: 6px; }
.nx-ui--tools { background: #fff; color: var(--nx-ink); border-radius: 14px; overflow: hidden; }
.nx-ui__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: var(--nx-ink); color: #fff; }
.nx-ui__bar b { font-family: var(--nx-font-latin); font-size: 14px; font-weight: 700; color: var(--nx-gold); direction: ltr; }
.nx-ui__bar span { font-size: 15px; font-weight: 600; }
.nx-ui__body { padding: 20px 20px 18px; }
.nx-ui__score { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; }
.nx-ui__score b { font-family: var(--nx-font-display); font-size: 56px; line-height: 1; color: var(--nx-blue); }
.nx-ui__score span { color: var(--nx-muted); font-size: 15px; }
.nx-ui__dims { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nx-ui__dims li { display: grid; grid-template-columns: 120px minmax(0,1fr) 32px; gap: 12px; align-items: center; font-size: 15px; }
.nx-ui__dims i { height: 10px; border-radius: 10px; background: var(--nx-porcelain); overflow: hidden; }
.nx-ui__dims i::before { content: ""; display: block; height: 100%; width: var(--v); background: var(--nx-blue); border-radius: 10px; transform-origin: right; }
.nx-slide.is-current .nx-ui__dims i::before { animation: nx-grow 1.1s var(--nx-ease) .3s both; }
@keyframes nx-grow { from { transform: scaleX(0); } }
.nx-ui__dims b { font-weight: 700; text-align: left; }
.nx-ui__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; flex-wrap: wrap; font-size: 14px; color: var(--nx-muted); }
.nx-ui__btn { background: var(--nx-gold); color: var(--nx-ink); font-weight: 700; padding: 9px 14px; border-radius: 8px; }
.nx-slide.is-current .nx-ui { animation: nx-ui-in .9s var(--nx-ease) .15s both; }
@keyframes nx-ui-in { from { opacity: 0; transform: translateY(24px); } }
@media (max-width: 1080px) {
  .nx-slide__media--ui { padding: 0 16px 120px; place-items: start center; }
  .nx-ui { width: min(100%, 360px); }
  .nx-ui__lines { display: none; }
  .nx-ui__foot, .nx-ui__score span { display: none; }
}
@media (max-width: 640px) {
  .nx-slide.has-ui { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .nx-slide.has-ui .nx-slide__media, .nx-slide__media--plate { display: none !important; }
  .nx-slide:has(.nx-slide__media--plate) { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .nx-slide:has(.nx-slide__media--plate) .nx-slide__body { padding-bottom: 128px; }
  .nx-slide:has(.nx-slide__media--plate) .nx-slide__title { font-size: clamp(44px, 13vw, 64px); }
  .nx-slide.has-ui .nx-slide__body { padding-bottom: 128px; }
  .nx-slide.has-ui .nx-slide__title { font-size: clamp(44px, 13vw, 64px); }
}

/* ==========================================================================
   Full-screen film slide (the NEXAI intro) and sound buttons
   ========================================================================== */
.nx-slide--film { background: #060B1C; display: block; }
.nx-slide__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #060B1C; }
.nx-slide__filmbar {
  position: absolute; z-index: 3; inset-inline: 0; bottom: clamp(96px, 13vh, 124px);
  max-width: var(--nx-wrap); margin-inline: auto; padding-inline: var(--nx-gutter);
  display: flex; align-items: center; gap: 18px; color: #fff;
}
.nx-slide__filmbar p { margin: 0; font-size: 16px; color: var(--nx-on-dark); max-width: 52ch; }
.nx-slide__sound { width: auto !important; padding: 0 16px; gap: 8px; display: inline-flex !important; align-items: center; font-weight: 700; font-size: 15px; }
[data-film-sound] .nx-ico-sound, [data-film-sound][aria-pressed="true"] .nx-ico-mute { display: none; }
[data-film-sound][aria-pressed="true"] .nx-ico-sound { display: block; }
.nx-film__toggle--sound { inset-inline-end: 76px; }
@media (max-width: 640px) {
  .nx-slide__filmbar { bottom: 112px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .nx-slide__filmbar p { font-size: 15px; }
}


.nx-page { display: none; }
.nx-page.is-current { display: block; }
.nx-previewbtn { background: none; border: 0; color: var(--nx-gold); font: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.nx-previewbtn:hover { color: #fff; }
.nx-idx[hidden] { display: none; }
.nx-idx { position: fixed; inset: 0; z-index: 300; background: rgba(6,13,29,.72); backdrop-filter: blur(4px);
  display: grid; place-items: start center; padding: 4vh 3vw; overflow-y: auto; }
.nx-idx__panel { background: #fff; width: min(1180px, 100%); border-radius: var(--nx-r); overflow: hidden; }
.nx-idx__top { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding: 28px 32px 20px; background: var(--nx-porcelain); }
.nx-idx__top h3 { font-size: 1.8rem; margin: 0 0 6px; }
.nx-idx__top p { margin: 0; font-size: 14.5px; color: var(--nx-muted); }
.nx-idx__close { background: none; border: 0; font-size: 32px; line-height: 1; cursor: pointer; color: var(--nx-ink); width: 44px; height: 44px; }
.nx-idx__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.nx-idx__col { padding: 22px 30px 28px; }
.nx-idx__col h4 { font-size: 14px; color: var(--nx-gold-ink); margin-bottom: 8px; }
.nx-idx__col ul { list-style: none; margin: 0; padding: 0; }
.nx-idx__col li a { display: block; padding: 7px 0; font-size: 14.5px; line-height: 1.7; }
.nx-idx__col li a:hover { color: var(--nx-gold-ink); }
.nx-previewbar { background: #FFF7DD; color: #4A3A0B; font-size: 14px; text-align: center; padding: 8px 16px; }
@media (max-width: 700px) { .nx-idx { padding: 0; } .nx-idx__panel { border-radius: 0; } }


/* ===== Publications + online reader (v4) ===== */
.nx-cover { container-type: inline-size; position: relative; aspect-ratio: 2 / 3; width: 100%; border-radius: 3px 9px 9px 3px; background: radial-gradient(120% 80% at 80% 0%, rgba(255,255,255,.14), transparent 55%), linear-gradient(165deg, var(--c), var(--ci)); color: #fff; display: flex; flex-direction: column; padding: 13% 11% 10% 10%; padding-inline-start: 15%; overflow: hidden; box-shadow: 0 22px 44px -22px rgba(6,13,29,.6), 0 6px 14px -6px rgba(6,13,29,.35); isolation: isolate; }
.nx-cover::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 6.5%; background: linear-gradient(270deg, rgba(0,0,0,.32), rgba(255,255,255,.10) 55%, rgba(0,0,0,.14)); }
.nx-cover::after { content: ""; position: absolute; inset: 5.5%; inset-inline-start: 11%; border: 1px solid rgba(212,175,55,.45); border-radius: 2px; pointer-events: none; z-index: -1; }
.nx-cover__top { font-size: 5.2cqw; letter-spacing: 0; color: var(--nx-gold); font-weight: 700; }
.nx-cover__title { margin-top: 26%; font-family: var(--nx-font-display); font-weight: 700; font-size: 15.5cqw; line-height: 1.12; }
.nx-cover__rule { display: block; width: 26%; height: 2px; background: var(--nx-gold); margin: 7% 0 6%; }
.nx-cover__sub { font-size: 6.4cqw; line-height: 1.6; color: rgba(255,255,255,.86); }
.nx-cover__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6%; }
.nx-cover__author { font-size: 5.8cqw; font-weight: 700; }
.nx-cover__mark { width: 15cqw; height: 15cqw; color: var(--nx-gold); flex: none; }

.nx-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 56px 40px; }
.nx-bookcard { display: flex; flex-direction: column; gap: 14px; }
.nx-bookcard__cv { display: block; max-width: 250px; transition: transform .35s var(--nx-ease); }
.nx-bookcard__cv:hover { transform: translateY(-6px) rotate(-.6deg); }
.nx-bookcard__kind { font-size: 13px; color: var(--nx-gold-ink); font-weight: 700; margin-top: 8px; }
.nx-bookcard__title { font-size: 1.35rem; line-height: 1.5; margin: 0; }
.nx-bookcard__title a:hover { color: var(--nx-blue); }
.nx-bookcard__sub { color: var(--nx-muted); font-size: 15px; margin: -6px 0 0; }
.nx-bookcard__meta { font-size: 13.5px; color: var(--nx-muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.nx-bookcard__acts { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 4px; }
.nx-readfeat { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border-top: 1px solid var(--nx-line); border-bottom: 1px solid var(--nx-line); margin-top: 72px; }
.nx-readfeat > div { padding: 26px 24px; border-inline-start: 1px solid var(--nx-line); }
.nx-readfeat > div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.nx-readfeat h3 { font-size: 1.05rem; margin: 0 0 6px; }
.nx-readfeat p { font-size: 14.5px; color: var(--nx-muted); margin: 0; line-height: 1.9; }

.nx-bookhead { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 56px; align-items: start; }
.nx-bookhead__cv { position: sticky; top: calc(var(--nx-header-h) + 24px); }
.nx-bookhead__en { font-family: var(--nx-font-latin); direction: ltr; text-align: right; font-size: 14px; color: var(--nx-muted); margin: 4px 0 18px; }
.nx-bookhead h1 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.3; margin: 6px 0 4px; }
.nx-bookhead__sub { font-size: 1.2rem; color: var(--nx-muted); margin: 0; }
.nx-bookmeta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 28px 0; border-top: 1px solid var(--nx-line); }
.nx-bookmeta > div { padding: 14px 0; border-bottom: 1px solid var(--nx-line); }
.nx-bookmeta dt { font-size: 13px; color: var(--nx-muted); }
.nx-bookmeta dd { margin: 2px 0 0; font-weight: 700; }
.nx-bookhead__blurb { font-size: 1.12rem; line-height: 2.1; max-width: 62ch; }
.nx-bookhead__acts { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 10px; }
.nx-bookhead__note { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--nx-muted); }
.nx-bookhead__note svg { width: 18px; height: 18px; flex: none; color: var(--nx-gold-ink); }
.nx-btoc { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: c; border-top: 1px solid var(--nx-line); max-width: 760px; }
.nx-btoc li { border-bottom: 1px solid var(--nx-line); }
.nx-btoc a, .nx-btoc span.nx-btoc__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 4px; }
.nx-btoc a:hover { color: var(--nx-blue); background: var(--nx-porcelain); }
.nx-btoc__tag { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: var(--nx-pill); background: #E6F6F1; color: #04654A; white-space: nowrap; display: inline-flex; gap: 5px; align-items: center; }
.nx-btoc__tag--lock { background: #F6EFD8; color: var(--nx-gold-ink); }
.nx-btoc__tag svg { width: 13px; height: 13px; }
.nx-crumbs--ink, .nx-crumbs--ink a { color: var(--nx-muted); }
.nx-crumbs--ink a:hover { color: var(--nx-ink); } .nx-crumbs--ink span { color: #B7BECC; }
.nx-readpage { min-height: 70vh; display: grid; place-items: center; color: var(--nx-muted); }
.nx-perk--books { border-top: 3px solid var(--nx-gold); }
@media (max-width: 1100px) { .nx-readfeat { grid-template-columns: repeat(2, minmax(0,1fr)); } .nx-readfeat > div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; } }
@media (max-width: 820px) {
  .nx-bookhead { grid-template-columns: 1fr; gap: 32px; }
  .nx-bookhead__cv { position: static; max-width: 220px; }
  .nx-shelf { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px 18px; }
  .nx-bookcard__title { font-size: 1.1rem; }
  .nx-bookcard__acts .nx-btn { width: 100%; }
}
@media (max-width: 560px) { .nx-readfeat { grid-template-columns: 1fr; } .nx-readfeat > div { border-inline-start: 0 !important; padding-inline: 0 !important; border-bottom: 1px solid var(--nx-line); } .nx-readfeat > div:last-child { border-bottom: 0; } }

@media (max-width: 1200px) { .nx-nav > ul > li > a { padding: 0 7px; font-size: 14.5px; } }
@media (min-width: 1025px) and (max-width: 1200px) { .nx-nav > ul > li > a { white-space: nowrap; } }
/* ---- reader ---- */
.nx-rd { --rd-bg: #FFFFFF; --rd-tx: #1B2233; --rd-mu: #69718A; --rd-ln: #E3E7EF; --rd-chrome: #F7F8FB; --rd-acc: var(--nx-blue); --rd-mark: rgba(212,175,55,.38);
  position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; background: var(--rd-bg); color: var(--rd-tx); font-family: var(--nx-font); }
.nx-rd[hidden] { display: none; }
.nx-rd[data-theme="sepia"] { --rd-bg: #F5EEDC; --rd-tx: #3A2E1C; --rd-mu: #7D6C51; --rd-ln: #E3D7BC; --rd-chrome: #EFE6CF; --rd-acc: #7A5E0E; --rd-mark: rgba(160,110,20,.28); }
.nx-rd[data-theme="night"] { --rd-bg: #0D1322; --rd-tx: #CDD5E5; --rd-mu: #8892AA; --rd-ln: #1F2A40; --rd-chrome: #0A0F1C; --rd-acc: var(--nx-gold); --rd-mark: rgba(212,175,55,.32); }
.nx-rd__bar, .nx-rd__foot { flex: none; display: flex; align-items: center; gap: 10px; padding: 0 clamp(10px, 2vw, 22px); background: var(--rd-chrome); border-bottom: 1px solid var(--rd-ln); transition: transform .3s var(--nx-ease), opacity .3s; z-index: 3; }
.nx-rd__bar { height: 60px; }
.nx-rd__foot { height: 52px; border-bottom: 0; border-top: 1px solid var(--rd-ln); font-size: 13.5px; color: var(--rd-mu); font-variant-numeric: tabular-nums; }
.nx-rd.is-immersive .nx-rd__bar { transform: translateY(-100%); opacity: 0; }
.nx-rd.is-immersive .nx-rd__foot { transform: translateY(100%); opacity: 0; }
.nx-rd__btn { width: 42px; height: 42px; flex: none; display: inline-grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--rd-tx); cursor: pointer; font: inherit; }
.nx-rd__btn:hover { background: var(--rd-ln); }
.nx-rd__btn[aria-pressed="true"], .nx-rd__btn.is-on { color: var(--rd-acc); }
.nx-rd__btn[aria-pressed="true"] svg { fill: currentColor; }
.nx-rd__btn svg { width: 21px; height: 21px; }
.nx-rd__btn:focus-visible, .nx-rd button:focus-visible, .nx-rd a:focus-visible, .nx-rd input:focus-visible { outline: 2px solid var(--nx-gold); outline-offset: 2px; }
.nx-rd__ttl { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.45; }
.nx-rd__ttl b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-rd__ttl span { font-size: 12.5px; color: var(--rd-mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-rd__tools { display: flex; gap: 2px; }
.nx-rd__aa { font-weight: 800; font-size: 16px; font-family: var(--nx-font-latin); }
.nx-rd__stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; }
.nx-rd__viewport { position: relative; overflow: hidden; }
.nx-rd__flow { height: 100%; column-fill: auto; column-gap: var(--rd-gap, 64px); text-align: justify; font-size: var(--rd-fs, 19px); line-height: var(--rd-lh, 2.05); font-family: var(--rd-ff, var(--nx-font)); transition: transform .38s var(--nx-ease); will-change: transform;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; overflow-wrap: break-word; hyphens: none; }
.nx-rd.is-dragging .nx-rd__flow, .nx-rd.no-anim .nx-rd__flow { transition: none; }
.nx-rd__flow p { margin: 0 0 .9em; text-indent: 1.4em; orphans: 2; widows: 2; }
.nx-rd__flow h2 + p, .nx-rd__flow h3 + p, .nx-rd__flow blockquote + p { text-indent: 0; }
.nx-rd__flow h2 { font-family: var(--nx-font-display); font-size: 1.9em; line-height: 1.35; margin: 1.6em 0 1em; font-weight: 700; break-after: avoid; color: var(--rd-tx); }
.nx-rd__flow h3 { font-size: 1.08em; margin: 1.3em 0 .45em; font-weight: 800; color: var(--rd-acc); break-after: avoid; }
.nx-rd__flow blockquote { margin: 1.1em 0 1.2em; padding: .2em 1.1em .2em 0; border-inline-start: 3px solid var(--nx-gold); font-family: var(--nx-font-display); font-size: 1.12em; line-height: 1.85; color: var(--rd-tx); break-inside: avoid; }
.nx-rd__ch { break-before: column; }
.nx-rd__chno { display: block; font-size: .78em; color: var(--rd-mu); margin-top: 2.2em; }
.nx-rd__ch > h2 { margin-top: .2em; }
.nx-rd__ch > h2::after { content: ""; display: block; width: 56px; height: 2px; background: var(--nx-gold); margin-top: .55em; }
.nx-rd__title { height: 100%; break-after: column; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .3em; padding: 1em 0; }
.nx-rd__title .nx-cover { width: 190px; flex: none; margin-bottom: 1.4em; container-type: normal; padding: 26px 20px 20px 18px; padding-inline-start: 28px; }
.nx-rd__title .nx-cover__top { font-size: 10px; } .nx-rd__title .nx-cover__title { font-size: 29px; margin-top: 46px; } .nx-rd__title .nx-cover__sub { font-size: 12px; }
.nx-rd__title .nx-cover__author { font-size: 11px; } .nx-rd__title .nx-cover__mark { width: 28px; height: 28px; } .nx-rd__title .nx-cover__rule { margin: 12px 0 10px; }
@media (max-height: 640px) { .nx-rd__title .nx-cover { display: none; } }
.nx-rd__title strong { font-family: var(--nx-font-display); font-size: 1.9em; line-height: 1.3; }
.nx-rd__title em { font-style: normal; color: var(--rd-mu); }
.nx-rd__title small { margin-top: 1.8em; font-size: .72em; color: var(--rd-mu); max-width: 30em; line-height: 1.9; }
.nx-rd__lock { break-before: column; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: .55em; padding: 1em; font-size: .9em; text-indent: 0; }
.nx-rd__lock > svg { width: 46px; height: 46px; color: var(--nx-gold); }
.nx-rd__lock strong { font-family: var(--nx-font-display); font-size: 1.7em; line-height: 1.4; }
.nx-rd__lock p { text-indent: 0 !important; color: var(--rd-mu); max-width: 26em; margin: 0; }
.nx-rd__lock ul { list-style: none; padding: 0; margin: .4em 0 .6em; font-weight: 700; line-height: 2; }
.nx-rd__lock ul li::before { content: "— "; color: var(--nx-gold); }
.nx-rd__lockacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: .4em; }
.nx-rd__lockacts .nx-btn { font-size: 14.5px; }
.nx-rd__demo { margin-top: 1.2em; border: 1px dashed var(--rd-ln); background: transparent; color: var(--rd-mu); border-radius: 999px; padding: 6px 16px; font: inherit; font-size: 13px; cursor: pointer; }
.nx-rd__demo:hover { color: var(--rd-tx); border-color: var(--rd-mu); }
.nx-rd__end { break-before: column; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: .5em; color: var(--rd-mu); }
.nx-rd__end strong { color: var(--rd-tx); font-family: var(--nx-font-display); font-size: 1.6em; }
.nx-rd__flow mark { background: var(--rd-mark); color: inherit; border-radius: 3px; padding: 0 .08em; }
.nx-rd__flow mark.is-hit { outline: 2px solid var(--nx-gold); }
.nx-rd__spine { position: absolute; top: 0; bottom: 0; width: 44px; left: 50%; transform: translateX(-50%); pointer-events: none; background: linear-gradient(90deg, transparent, rgba(0,0,0,.05) 46%, rgba(0,0,0,.09) 50%, rgba(0,0,0,.05) 54%, transparent); display: none; }
.nx-rd[data-theme="night"] .nx-rd__spine { background: linear-gradient(90deg, transparent, rgba(0,0,0,.25) 50%, transparent); }
.nx-rd.is-spread .nx-rd__spine { display: block; }
.nx-rd__turn { position: absolute; top: 0; bottom: 0; width: 18%; max-width: 160px; border: 0; background: transparent; cursor: pointer; z-index: 2; display: flex; align-items: center; padding: 0 12px; color: var(--rd-mu); opacity: 0; transition: opacity .2s; }
.nx-rd__turn svg { width: 28px; height: 28px; }
.nx-rd__turn:hover, .nx-rd__turn:focus-visible { opacity: 1; }
.nx-rd__turn--next { left: 0; justify-content: flex-start; }
.nx-rd__turn--prev { right: 0; justify-content: flex-end; }
.nx-rd__turn--prev svg { transform: scaleX(-1); }
.nx-rd__turn[disabled] { visibility: hidden; }
.nx-rd__wm { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; opacity: .045; }
.nx-rd__wm span { position: absolute; white-space: nowrap; font-size: 15px; font-weight: 700; transform: rotate(-24deg); color: var(--rd-tx); }
.nx-rd__range { flex: 1; min-width: 60px; cursor: pointer; -webkit-appearance: none; appearance: none; height: 22px; background: transparent; --p: 0%; }
.nx-rd__range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to left, var(--rd-acc) var(--p), var(--rd-ln) var(--p)); }
.nx-rd__range::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(to left, var(--rd-acc) var(--p), var(--rd-ln) var(--p)); }
.nx-rd__range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: var(--rd-acc); border: 3px solid var(--rd-chrome); box-shadow: 0 0 0 1px var(--rd-acc); }
.nx-rd__range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--rd-acc); border: 3px solid var(--rd-chrome); }
.nx-rd__pos, .nx-rd__pct { white-space: nowrap; }
.nx-rd__panel { position: absolute; top: 60px; bottom: 0; inset-inline-end: 0; width: min(380px, 100%); background: var(--rd-chrome); border-inline-start: 1px solid var(--rd-ln); z-index: 5; display: flex; flex-direction: column; box-shadow: 0 0 60px rgba(6,13,29,.18); transform: translateX(-104%); transition: transform .3s var(--nx-ease), visibility .3s; visibility: hidden; }
.nx-rd__panel.is-open { transform: none; visibility: visible; }
.nx-rd__panel--aa { inset-inline-end: auto; inset-inline-start: auto; left: auto; right: auto; top: 66px; bottom: auto; left: clamp(10px, 2vw, 22px); width: min(330px, calc(100% - 20px)); border: 1px solid var(--rd-ln); border-radius: 14px; transform: translateY(-8px); opacity: 0; transition: opacity .2s, transform .2s, visibility .2s; }
.nx-rd__panel--aa.is-open { transform: none; opacity: 1; }
.nx-rd__phead { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 10px; }
.nx-rd__phead h2 { font-size: 16px; margin: 0; }
.nx-rd__tabs { display: flex; gap: 6px; padding: 0 18px 10px; border-bottom: 1px solid var(--rd-ln); }
.nx-rd__tab { border: 0; background: transparent; color: var(--rd-mu); font: inherit; font-size: 14px; font-weight: 700; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.nx-rd__tab[aria-selected="true"] { background: var(--rd-ln); color: var(--rd-tx); }
.nx-rd__plist { list-style: none; margin: 0; padding: 8px 10px 24px; overflow: auto; flex: 1; }
.nx-rd__plist button, .nx-rd__plist .nx-rd__item { width: 100%; text-align: start; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; background: transparent; color: var(--rd-tx); font: inherit; font-size: 14.5px; line-height: 1.7; padding: 11px 10px; border-radius: 9px; cursor: pointer; }
.nx-rd__plist button:hover { background: var(--rd-ln); }
.nx-rd__plist .is-current > button { color: var(--rd-acc); font-weight: 700; }
.nx-rd__plist small { color: var(--rd-mu); font-size: 12.5px; white-space: nowrap; display: inline-flex; gap: 4px; align-items: center; }
.nx-rd__plist small svg { width: 13px; height: 13px; }
.nx-rd__plist .nx-rd__bm { display: flex; align-items: center; gap: 4px; }
.nx-rd__plist .nx-rd__bm > button:first-child { flex: 1; flex-direction: column; align-items: flex-start; gap: 0; }
.nx-rd__plist .nx-rd__bm > button:first-child span { font-size: 13px; color: var(--rd-mu); }
.nx-rd__plist .nx-rd__del { width: 36px; flex: none; justify-content: center; color: var(--rd-mu); font-size: 20px; }
.nx-rd__empty { padding: 18px 12px; color: var(--rd-mu); font-size: 14px; line-height: 1.9; }
.nx-rd__sform { padding: 0 18px 12px; border-bottom: 1px solid var(--rd-ln); }
.nx-rd__sform input { width: 100%; height: 44px; border: 1px solid var(--rd-ln); border-radius: 10px; padding: 0 14px; font: inherit; background: var(--rd-bg); color: var(--rd-tx); }
.nx-rd__sres button { flex-direction: column; align-items: flex-start !important; gap: 2px !important; }
.nx-rd__sres button span { color: var(--rd-mu); font-size: 12.5px; }
.nx-rd__sres mark { background: var(--rd-mark); color: inherit; border-radius: 3px; }
.nx-rd__set { padding: 4px 18px 18px; display: grid; gap: 16px; }
.nx-rd__set h3 { font-size: 13px; color: var(--rd-mu); margin: 0 0 6px; font-weight: 700; }
.nx-rd__seg { display: flex; gap: 6px; }
.nx-rd__seg button { flex: 1; min-height: 42px; border: 1px solid var(--rd-ln); background: var(--rd-bg); color: var(--rd-tx); border-radius: 10px; font: inherit; font-size: 14px; cursor: pointer; }
.nx-rd__seg button[aria-pressed="true"] { border-color: var(--rd-acc); box-shadow: inset 0 0 0 1px var(--rd-acc); font-weight: 700; }
.nx-rd__seg [data-theme-btn="light"] { background: #fff; color: #1B2233; }
.nx-rd__seg [data-theme-btn="sepia"] { background: #F5EEDC; color: #3A2E1C; }
.nx-rd__seg [data-theme-btn="night"] { background: #0D1322; color: #CDD5E5; }
.nx-rd__fs { display: flex; align-items: center; gap: 10px; }
.nx-rd__fs output { flex: 1; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.nx-rd__toast { position: absolute; bottom: 70px; left: 50%; transform: translate(-50%, 12px); background: var(--nx-ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 6; white-space: nowrap; }
.nx-rd__toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.nx-rd__toast button { background: none; border: 0; color: var(--nx-gold); font: inherit; font-weight: 700; margin-inline-start: 10px; cursor: pointer; pointer-events: auto; }
html.nx-reading, html.nx-reading body { overflow: hidden; }
.nx-rd .nx-btn--line { border-color: var(--rd-tx); color: var(--rd-tx); }
.nx-rd .nx-btn--line:hover { background: var(--rd-tx); color: var(--rd-bg); }
.nx-rd .nx-textlink { color: var(--rd-acc); }
@media (max-width: 700px) {
  .nx-rd__bar { height: 56px; padding: 0 6px; gap: 2px; }
  .nx-rd__panel { top: 56px; }
  .nx-rd__btn { width: 40px; height: 40px; }
  .nx-rd__full { display: none !important; }
  .nx-rd__foot { gap: 10px; }
  .nx-rd__turn { width: 22%; }
}
@media (prefers-reduced-motion: reduce) { .nx-rd__flow, .nx-rd__panel, .nx-rd__bar, .nx-rd__foot { transition: none !important; } }
@media print { .nx-rd { display: none !important; } html.nx-reading body > * { display: none !important; } html.nx-reading body::before { content: "چاپ کتاب‌های انتشارات نکسای امکان‌پذیر نیست؛ این کتاب فقط به‌صورت آنلاین خوانده می‌شود."; display: block; padding: 40px; font: 16px/2 Tahoma, sans-serif; direction: rtl; } }
