/* nx home: one continuous dive. Static and readable by default; html.nx-on (set by nx.js when motion is allowed) adds the pinned scenes. */
body.nxs { --nx-paper: var(--paper); --nx-ink: var(--ink); --g: clamp(16px, 2.4vw, 40px); overflow-x: clip; }
.nx-inv { --paper: var(--nx-ink); --ink: var(--nx-paper); --soft: color-mix(in srgb, var(--nx-paper) 62%, var(--nx-ink)); --rule: color-mix(in srgb, var(--nx-paper) 22%, var(--nx-ink)); --tint: color-mix(in srgb, var(--nx-paper) 9%, var(--nx-ink)); background: var(--paper); color: var(--ink); }
body.nx main > section { position: relative; }
.nx-n { font: 500 12px/1.2 var(--mono); letter-spacing: .02em; text-transform: uppercase; color: var(--soft); }
.nx-btn { display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 22px 0 26px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 500; white-space: nowrap; transition: transform .5s var(--ease), background .2s; }
.nx-btn svg { width: 16px; height: 16px; transition: transform .5s var(--ease); } .nx-btn:hover svg { transform: translateX(5px); }

/* ---------- 1. hero ---------- */
.nx-hero .nx-pin { min-height: 100svh; overflow: hidden; position: relative; }
.nx-stage { min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--hdr, 58px) + 3vh) var(--g) clamp(20px, 3.4vh, 40px); }
.nx-kick { display: flex; justify-content: space-between; gap: 16px; margin: 0; font: 500 12px/1.2 var(--mono); text-transform: uppercase; color: var(--soft); }
.nx-h1 { margin: auto 0; font-size: clamp(44px, 10.6vw, 220px); font-weight: 600; line-height: .86; letter-spacing: -.055em; text-transform: uppercase; }
.nx-l { display: block; overflow: hidden; padding: .04em 0 .06em; margin: -.04em 0 -.06em; }
.nx-l > span { display: inline-block; white-space: nowrap; animation: nx-rise 1.2s var(--ease) both; }
.nx-l:nth-child(2) { text-align: center; } .nx-l:nth-child(3) { text-align: right; }
.nx-l:nth-child(2) > span { animation-delay: .09s; } .nx-l:nth-child(3) > span { animation-delay: .18s; }
@keyframes nx-rise { from { transform: translateY(112%); } }
.nx-eye { position: relative; display: inline-block; }
.nx-pupil { position: absolute; left: 50%; top: 50%; width: .2em; height: .2em; margin: -.1em 0 0 -.1em; border-radius: 50%; background: var(--ink); transform: translate(calc(var(--px, 0) * 1em), calc(var(--py, 0) * 1em)); transition: transform .25s ease-out; animation: nx-blink 1.2s var(--ease) .9s both; }
@keyframes nx-blink { from { scale: 0; } }
.nx-hero-foot { display: grid; grid-template-columns: minmax(0, 34ch) auto 1fr; gap: 18px clamp(24px, 4vw, 64px); align-items: end; animation: nx-fade 1s ease .5s both; }
.nx-hero-foot p { margin: 0; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.4; }
.nx-hint { justify-self: end; font: 500 12px/1.2 var(--mono); text-transform: uppercase; color: var(--soft); }
@keyframes nx-fade { from { opacity: 0; transform: translateY(12px); } }
.nx-iris { display: none; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--ex, 50%) var(--ey, 50%), var(--iris, var(--nx-ink)) calc(var(--r, 0) * 1px - 1px), transparent calc(var(--r, 0) * 1px)); }

/* ---------- 2. work ---------- */
.nx-work .nx-pin { padding: calc(var(--hdr, 58px) + 20px) var(--g) clamp(40px, 6vw, 90px); }
.nx-work-head { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; font: 500 12px/1.2 var(--mono); text-transform: uppercase; color: var(--soft); }
.nx-work-head a { justify-self: end; color: var(--ink); } .nx-count b { color: var(--ink); font-weight: 500; }
.nx-ghost { margin: clamp(28px, 5vw, 72px) 0; font-size: clamp(40px, 8vw, 150px); font-weight: 600; line-height: .88; letter-spacing: -.05em; text-transform: uppercase; }
.nx-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.nx-plane { display: block; color: inherit; }
.nx-plane-img { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #000; border-radius: 6px; }
.nx-plane-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nx-type { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(22px, 3vw, 44px); font-weight: 600; letter-spacing: -.04em; text-transform: uppercase; }
.nx-plane-cap { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding-top: 12px; font-size: 14px; }
.nx-plane-cap b { font-weight: 500; } .nx-plane-cap span { grid-column: 1; color: var(--soft); }
.nx-plane-cap i { grid-row: 1 / span 2; grid-column: 2; align-self: center; display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); font-style: normal; text-transform: uppercase; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .5s var(--ease); }
.nx-plane-cap i svg { width: 14px; height: 14px; } .nx-plane:hover .nx-plane-cap i { opacity: 1; transform: none; }

/* ---------- 3. statement ---------- */
.nx-say { padding: clamp(90px, 14vw, 220px) var(--g) clamp(60px, 8vw, 120px); }
.nx-sentence { margin: 22px 0 clamp(50px, 8vw, 120px); max-width: 17em; font-size: clamp(32px, 5.6vw, 104px); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.nx-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; border-top: 1px solid var(--rule); padding-top: 20px; }
.nx-facts li { display: grid; gap: 6px; } .nx-facts b { font-size: clamp(20px, 2.2vw, 34px); font-weight: 500; letter-spacing: -.03em; } .nx-facts span { font: 500 12px/1.3 var(--mono); text-transform: uppercase; color: var(--soft); }

/* ---------- shared section head ---------- */
.nx-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 34ch); gap: 24px; align-items: end; padding-bottom: clamp(28px, 4vw, 60px); }
.nx-head h2, .nx-cta h2 { margin: 0; font-size: clamp(44px, 8.4vw, 160px); font-weight: 600; line-height: .86; letter-spacing: -.055em; text-transform: uppercase; }
.nx-head p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--soft); } .nx-head p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 4. services ---------- */
.nx-svc { position: relative; padding: clamp(60px, 8vw, 120px) var(--g) clamp(80px, 11vw, 170px); }
.nx-svc-list { list-style: none; margin: 0; padding: 0; }
.nx-svc-row { display: grid; grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 1fr) 24px; gap: 20px; align-items: center; padding: clamp(16px, 1.7vw, 26px) 0; border-top: 1px solid var(--rule); color: inherit; transition: padding .5s var(--ease), opacity .3s; }
.nx-svc-list li:last-child .nx-svc-row { border-bottom: 1px solid var(--rule); }
.nx-svc-t { font-size: clamp(24px, 3.3vw, 56px); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.nx-svc-x { font-size: 14px; line-height: 1.4; color: var(--soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nx-svc-row i { opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .5s var(--ease); } .nx-svc-row i svg { width: 20px; height: 20px; }
@media (hover: hover) {
  .nx-svc-list:hover .nx-svc-row { opacity: .28; } .nx-svc-list .nx-svc-row:hover { opacity: 1; padding-left: clamp(10px, 1.6vw, 28px); }
  .nx-svc-row:hover i { opacity: 1; transform: none; }
}
.nx-peek { position: fixed; left: 0; top: 0; z-index: 40; width: clamp(220px, 22vw, 360px); aspect-ratio: 4 / 3; margin: -12% 0 0 28px; border-radius: 6px; background: #111 center / cover no-repeat; pointer-events: none; opacity: 0; scale: .86; transition: opacity .3s, scale .5s var(--ease); will-change: transform; }
.nx-peek.on { opacity: 1; scale: 1; }
@media (hover: none), (max-width: 899px) { .nx-peek { display: none; } }

/* ---------- 5. method ---------- */
.nx-method .nx-pin { padding: calc(var(--hdr, 58px) + 20px) 0 clamp(40px, 6vw, 80px); }
.nx-method .nx-work-head { padding: 0 var(--g); }
.nx-bar { width: clamp(80px, 14vw, 220px); height: 1px; background: var(--rule); position: relative; } .nx-bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.nx-slide { display: grid; gap: 0; padding: clamp(24px, 4vw, 60px) var(--g) 0; }
.nx-act { position: relative; display: grid; align-content: end; min-height: 46vh; padding: 28px 0; border-top: 1px solid var(--rule); }
.nx-act-n { position: absolute; right: 0; top: 0; font-size: clamp(120px, 26vw, 520px); font-weight: 600; line-height: .8; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1px var(--rule); pointer-events: none; }
.nx-act-in { position: relative; display: grid; gap: 14px; max-width: 46ch; justify-items: start; }
.nx-act h3 { margin: 0; font-size: clamp(44px, 7.6vw, 150px); font-weight: 600; line-height: .88; letter-spacing: -.055em; text-transform: uppercase; }
.nx-act p { margin: 0; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.45; color: var(--soft); }
.nx-act-end h3 { font-size: clamp(36px, 5vw, 96px); }

/* ---------- 6. proof ---------- */
.nx-proof { padding: clamp(80px, 11vw, 170px) 0 clamp(60px, 8vw, 120px); } .nx-proof .nx-head, .nx-quotes { margin: 0 var(--g); }
.nx-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 70px); border-top: 1px solid var(--rule); padding-top: clamp(24px, 3vw, 44px); }
.nx-quote { margin: 0; display: grid; gap: 22px; align-content: space-between; }
.nx-quote blockquote { margin: 0; font-size: clamp(20px, 2.1vw, 34px); line-height: 1.18; letter-spacing: -.025em; }
.nx-quote figcaption { display: grid; gap: 4px; font-size: 14px; } .nx-quote figcaption span { font: 500 12px/1.3 var(--mono); text-transform: uppercase; color: var(--soft); }
.nx-logos { display: flex; overflow: hidden; margin-top: clamp(50px, 8vw, 120px); border-block: 1px solid var(--rule); padding: clamp(18px, 2.4vw, 34px) 0; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.nx-logos ul { list-style: none; margin: 0; padding: 0 clamp(20px, 3vw, 48px); display: flex; gap: clamp(40px, 6vw, 96px); align-items: center; flex: none; animation: nx-mq 60s linear infinite; }
.nx-logos li { flex: none; } .nx-logos img { display: block; height: clamp(22px, 2.4vw, 36px); width: auto; max-width: 150px; object-fit: contain; }
html[data-theme="dark"] .nx-logos img { filter: invert(1); }
@keyframes nx-mq { to { transform: translateX(-100%); } }

/* ---------- 7. faq + cta ---------- */
.nx-faq { padding: clamp(60px, 8vw, 120px) var(--g) clamp(80px, 11vw, 170px); }
.nx-acc { border-top: 1px solid var(--rule); } .nx-acc details { border-bottom: 1px solid var(--rule); }
.nx-acc summary { grid-template-columns: 1fr 20px; padding: 20px 0; font-size: clamp(18px, 1.7vw, 26px); letter-spacing: -.02em; } .nx-acc details p { margin: 0; padding: 0 0 24px; max-width: 62ch; color: var(--soft); line-height: 1.5; }
.nx-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); padding: clamp(80px, 11vw, 170px) var(--g); }
.nx-cta-l { display: grid; gap: 18px; align-content: start; } .nx-cta-l p { margin: 0; max-width: 44ch; color: var(--soft); line-height: 1.5; }
.nx-cta .nx-cta-say { font-size: clamp(22px, 2.2vw, 34px); line-height: 1.12; letter-spacing: -.025em; color: var(--ink); margin-top: 14px; }
.nx-reach { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; } .nx-reach a { color: inherit; border-bottom: 1px solid var(--rule); padding-bottom: 2px; }

/* reveal */
.nx-on .nx-rv, .nx-on .nx-head, .nx-on .nx-svc-list li, .nx-on .nx-facts li { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform 1.1s var(--ease); transition-delay: calc(var(--k, 0) * 70ms); }
.nx-on .in.nx-rv, .nx-on .nx-head.in, .nx-on .nx-svc-list li.in, .nx-on .nx-facts li.in { opacity: 1; transform: none; }
.nx-on .nx-w { opacity: .14; transition: opacity .4s linear; } .nx-on .nx-w.lit { opacity: 1; }

/* ================= motion: pinned scenes ================= */
.nx-on .nx-hero { height: 230svh; }
.nx-on .nx-hero .nx-pin { position: sticky; top: 0; height: 100svh; min-height: 0; }
.nx-on .nx-stage { height: 100svh; min-height: 0; will-change: transform; transform-origin: var(--ex, 50%) var(--ey, 50%); }
.nx-on .nx-iris { display: block; }

.nx-on .nx-work { height: calc(var(--n) * 95svh + 130svh); }
.nx-on .nx-work .nx-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; padding-bottom: 0; }
.nx-on .nx-work-head { position: relative; z-index: 3; }
.nx-on .nx-ghost { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; text-align: center; font-size: clamp(54px, 13vw, 260px); color: transparent; -webkit-text-stroke: 1px var(--rule); opacity: calc(1 - var(--gp, 0) * 1.6); transform: scale(calc(.82 + var(--gp, 0) * .5)); will-change: transform, opacity; pointer-events: none; }
.nx-on .nx-cam { position: absolute; inset: 0; perspective: 1100px; perspective-origin: 50% 46%; }
.nx-on .nx-track { position: absolute; inset: 0; display: block; transform-style: preserve-3d; transform: translate3d(0, 0, calc(var(--z, 0) * 1px)); will-change: transform; }
.nx-on .nx-plane { position: absolute; left: 50%; top: 46%; width: min(54vw, 800px); margin: calc(min(54vw, 800px) * -.42) 0 0 calc(min(54vw, 800px) * -.5); transform: translate3d(calc(var(--x) * 17vw), calc(var(--y) * 9vh), calc(var(--i) * -1500px)); opacity: 0; will-change: opacity; backface-visibility: hidden; }
.nx-on .nx-plane-cap i { opacity: 1; transform: none; }
.nx-on .nx-iris-out { --iris: var(--nx-paper); z-index: 4; }
@media (max-width: 899px) {
  .nx-on .nx-plane { width: 74vw; margin: calc(74vw * -.42) 0 0 -37vw; transform: translate3d(calc(var(--x) * 9vw), calc(var(--y) * 12vh), calc(var(--i) * -1500px)); }
}

.nx-on .nx-method { height: calc(var(--n) * 85svh + 100svh); }
.nx-on .nx-method .nx-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; padding-bottom: 0; }
.nx-on .nx-slide { flex: 1; display: flex; padding: 0; width: calc(var(--n) * 100vw); transform: translate3d(calc(var(--sx, 0) * -1px), 0, 0); will-change: transform; }
.nx-on .nx-act { flex: 0 0 100vw; min-height: 0; border-top: 0; padding: 0 var(--g) clamp(36px, 6vh, 70px); }
.nx-on .nx-act-n { right: var(--g); top: 6vh; font-size: clamp(200px, 52vh, 620px); transform: translate3d(calc(var(--par, 0) * 1px), 0, 0); }

@media (max-width: 899px) {
  .nx-kick span:nth-child(2) { display: none; }
  .nx-h1 { font-size: clamp(40px, 12.4vw, 110px); } .nx-l:nth-child(2), .nx-l:nth-child(3) { text-align: left; } .nx-l > span { white-space: normal; }
  .nx-hero-foot { grid-template-columns: 1fr; } .nx-hint { justify-self: start; }
  .nx-work-head { grid-template-columns: 1fr auto; } .nx-work-head .nx-count, .nx-work-head .nx-bar { display: none; }
  .nx-facts { grid-template-columns: 1fr 1fr; } .nx-head { grid-template-columns: 1fr; }
  .nx-svc-row { grid-template-columns: 44px minmax(0, 1fr); } .nx-svc-x { grid-column: 2; } .nx-svc-row i { display: none; }
  .nx-quotes, .nx-cta { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .nx-l > span, .nx-pupil, .nx-hero-foot, .nx-logos ul { animation: none; } }

/* ================= the same language on every other page (skin over the shared page kit) ================= */
.nxs .mx-big, .nxs .pgm-mq, .nxs .pgm-head h2 { font-weight: 600; letter-spacing: -.055em; line-height: .86; }
.nxs .mx-line, .nxs .mx-line:last-child { border: 0; overflow: hidden; padding: .04em 0 .07em; }
.nxs .mx-hero .mx-line > span, .nxs .pgm-lede { animation: nx-rise 1.2s var(--ease) both; }
.nxs .mx-hero .mx-line:nth-child(2) > span { animation-delay: .09s; } .nxs .mx-hero .mx-line:nth-child(3) > span { animation-delay: .18s; } .nxs .mx-hero .mx-line:nth-child(4) > span { animation-delay: .27s; }
.nxs .pgm-lede { animation-name: nx-fade; animation-delay: .3s; }
.nxs .mx-hero .mx-foot { border-top: 0; animation: nx-fade 1s ease .45s both; }
.nxs .mx-label, .nxs .mx-n, .nxs .mx-scroll, .nxs .mx-kick { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; color: var(--soft); }
.nxs .btn { border-radius: 99px; overflow: hidden; height: 52px; } .nxs .btn > span { padding-left: 26px; }
.nxs .mx-media, .nxs .pgm-img, .nxs .mx-thumb-img, .nxs .mx-bigmedia figure, .nxs .mx-show img { border-radius: 6px; }
.nxs .mx-say { font-weight: 500; letter-spacing: -.035em; }
.nxs .mx-link, .nxs .pgm-more { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; border-bottom: 0; transition: background-size .5s var(--ease); }
.nxs .mx-link:hover, .nxs .pgm-more:hover { background-size: 0 1px; background-position: 100% 100%; }
.nxs .mx-cta { --paper: var(--nx-ink); --ink: var(--nx-paper); --soft: color-mix(in srgb, var(--nx-paper) 62%, var(--nx-ink)); --rule: color-mix(in srgb, var(--nx-paper) 22%, var(--nx-ink)); --tint: color-mix(in srgb, var(--nx-paper) 9%, var(--nx-ink)); background: var(--paper); color: var(--ink); padding-top: clamp(70px, 9vw, 140px); padding-bottom: clamp(70px, 9vw, 140px); margin-top: clamp(40px, 6vw, 90px); }
.nxs .mx-cta + .mf, .nxs .nx-cta + .mf { border-top: 1px solid rgb(245 244 239 / .14); }
.nxs .mx-card .mx-cap, .nxs .pgm-row { transition: opacity .3s; }
@media (hover: hover) { .nxs .mx-cards:hover .mx-card:not(:hover) { opacity: .45; } .nxs .mx-card { transition: opacity .35s; } }
@media (prefers-reduced-motion: reduce) { .nxs .mx-hero .mx-line > span, .nxs .pgm-lede, .nxs .mx-hero .mx-foot { animation: none; } }
@media (min-width: 900px) {
  .nxs .mx-big .mx-line { justify-content: flex-start; gap: .22em; }
  .nxs .mx-hero .mx-big .mx-line:nth-child(2) { justify-content: flex-end; } .nxs .mx-hero .mx-big .mx-line:nth-child(3) { justify-content: center; }
  .nxs .mx-hero .mx-big { font-size: clamp(60px, 10.6vw, 220px); }
}

/* ================= page blocks shared by every page ================= */
.nx-more { justify-self: start; font-size: 14px; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .5s var(--ease); }
.nx-more:hover { background-size: 0 1px; background-position: 100% 100%; }
.nx-headrow { padding: clamp(70px, 9vw, 150px) var(--g) clamp(28px, 4vw, 60px); } .nx-head-end { display: grid; gap: 14px; align-content: end; }

/* page hero */
.nx-phero { padding-top: calc(var(--hdr, 58px) + 3vh); }
.nx-phero-top { min-height: calc(74svh - var(--hdr, 58px)); display: flex; flex-direction: column; justify-content: space-between; gap: 5vh; padding: 0 var(--g) clamp(24px, 4vh, 48px); }
.nx-phero .nx-kick .mx-kick { margin: 0; }
.nx-ph1 { font-size: min(15vw, calc(92vw / (var(--ch) * .6)), 240px); margin: auto 0; }
.nx-phero-foot { display: grid; grid-template-columns: minmax(0, 44ch) auto; justify-content: space-between; gap: 18px clamp(24px, 4vw, 64px); align-items: end; animation: nx-fade 1s ease .5s both; }
.nx-phero-foot p { margin: 0; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.4; }
.nx-band { position: relative; height: min(86svh, 62vw); min-height: 300px; overflow: hidden; background: #0b0b0b; clip-path: inset(0 calc(var(--o, 1) * var(--g)) 0 calc(var(--o, 1) * var(--g)) round calc(var(--o, 1) * 8px)); }
.nx-band-in { position: absolute; inset: 0; transform: scale(calc(1 + var(--o, 1) * .14)); will-change: transform; }
.nx-band-in > img, .nx-band-in > video, .nx-band-in .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nx-band-in .card-logo { position: absolute; left: 50%; top: 50%; width: min(34%, 380px); height: auto; transform: translate(-50%, -50%); object-fit: contain; }
.nx-band-in .type-card { position: absolute; inset: 0; display: grid; place-items: center; color: #F5F4EF; font-size: clamp(40px, 9vw, 160px); font-weight: 600; letter-spacing: -.05em; text-transform: uppercase; }
.nx-band-in .world, .nx-band-in .mx-funnel { position: absolute; inset: 0; height: 100%; }

/* split */
.nx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 24px clamp(24px, 5vw, 90px); padding: clamp(70px, 10vw, 170px) var(--g); }
.nx-split-side { margin: 6px 0 0; line-height: 1.5; }
.nx-split-say { margin: 0 0 26px; font-size: clamp(30px, 4.6vw, 84px); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.nx-split-body { margin: 0 0 26px; max-width: 58ch; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; color: var(--soft); }
.nx-rows { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.nx-rows a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: clamp(18px, 1.8vw, 28px); letter-spacing: -.025em; color: inherit; transition: padding .5s var(--ease); }
.nx-rows a svg { width: 18px; height: 18px; transition: transform .5s var(--ease); } .nx-rows a:hover { padding-left: 14px; } .nx-rows a:hover svg { transform: translateX(6px); }
.nx-on .nx-fill .nx-w { opacity: .14; transition: opacity .4s linear; } .nx-on .nx-fill .nx-w.lit { opacity: 1; }

/* cards */
.nxs .nx-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px) clamp(20px, 2.4vw, 40px); }
.nxs .nx-cards > .nx-card:nth-child(even) { margin-top: clamp(40px, 7vw, 120px); }
.nxs .nx-cards.mx-cards-1 { grid-template-columns: 1fr; } .nxs .nx-cards.mx-cards-1 > .nx-card { margin-top: 0; }
.nxs .nx-card .mx-media { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; perspective: 900px; background: #0b0b0b; }
.nx-card-in { position: absolute; inset: 0; transform: rotateX(calc(var(--ty, 0) * 1deg)) rotateY(calc(var(--tx, 0) * 1deg)) scale(var(--ts, 1)); transition: transform .6s var(--ease); will-change: transform; }
.nx-card-in .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nxs .nx-card .mx-cap { font-size: 15px; padding-top: 14px; } .nxs .nx-card .mx-cap b { font-size: clamp(20px, 1.8vw, 28px); font-weight: 500; letter-spacing: -.03em; }
.nxs .mx-filters .filter { border-radius: 99px; } .nxs .mx-filters .filter.on { background: var(--ink); color: var(--paper); }
.nxs .mx-filters { padding: clamp(40px, 6vw, 80px) var(--g) clamp(24px, 3vw, 40px); } .nxs .mx-cardgrid { padding-left: var(--g); padding-right: var(--g); }

/* home: picture sections */
.nx-say { overflow: hidden; } .nx-say > * { position: relative; z-index: 1; } .nx-say .nx-n em { font-style: normal; margin-left: 14px; opacity: .6; }
.nx-trail { position: absolute !important; inset: 0; z-index: 0 !important; pointer-events: none; }
.nx-trail img { position: absolute; left: 0; top: 0; width: clamp(130px, 13vw, 210px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; opacity: 0; will-change: transform, opacity; }
@media (hover: none), (max-width: 899px) { .nx-say .nx-n em { display: none; } }
.nx-vt { margin: 0 var(--g) clamp(30px, 4vw, 60px); } .nx-vt .row { border: 0; } .nx-vt .vt-frame { border-radius: 6px; overflow: hidden; }
.nx-studio { padding: clamp(60px, 8vw, 120px) var(--g) clamp(80px, 11vw, 170px); overflow: hidden; }
.nx-studio-row { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: clamp(14px, 2vw, 30px); align-items: start; }
.nx-studio-row figure { margin: 0; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 5; transform: translate3d(0, calc(var(--dy, 0) * 1px), 0); will-change: transform; }
.nx-studio-row figure:nth-child(2) { margin-top: 12vw; } .nx-studio-row figure:nth-child(3) { margin-top: 4vw; }
.nx-studio-row img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); } .nx-studio-row figure:hover img { transform: scale(1.05); }
.nxs .cw, .nxs .bid { padding-bottom: clamp(60px, 8vw, 120px); } .nxs .cw-t img, .nxs .bid-s img { border-radius: 6px; }
.nxs .bid-head { padding-left: var(--g); padding-right: var(--g); } .nxs .cw-foot { padding: 20px var(--g) 0; }
.nxs #articles .mx-posts { padding: 0 var(--g) clamp(60px, 8vw, 120px); }

/* cursor */
.nx-cur { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; width: 0; height: 0; opacity: 0; transition: opacity .25s; }
.nx-cur.on { opacity: 1; }
.nx-cur i { position: absolute; left: 0; top: 0; width: 0; height: 0; margin: 0; border-radius: 50%; background: #F5F4EF; color: #111210; display: grid; place-items: center; overflow: hidden; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease); }
.nx-cur b { font: 500 11px/1 var(--mono); text-transform: uppercase; white-space: nowrap; }
.nx-cur.label i { width: 88px; height: 88px; margin: -44px 0 0 -44px; }
@media (hover: none), (pointer: coarse) { .nx-cur { display: none; } }

/* residual blocks on inner pages */
.nxs .mx-nums { padding: clamp(40px, 6vw, 90px) var(--g); border: 0; } .nxs .mx-nums b { font-weight: 600; letter-spacing: -.045em; }
.nxs .mx-photos { padding: 0 var(--g); } .nxs .mx-photos img, .nxs .wide-media, .nxs .wide-media img, .nxs .wide-media video, .nxs .thumb, .nxs .gallery img { border-radius: 6px; }
.nxs .mx-cover { padding: 0; } .nxs .mx-cover > .wide-media { clip-path: inset(0 calc(var(--o, 1) * var(--g)) 0 calc(var(--o, 1) * var(--g)) round calc(var(--o, 1) * 8px)); border-radius: 0; }
.nxs .mx-cover > .wide-media > img, .nxs .mx-cover > .wide-media > video { border-radius: 0; transform: scale(calc(1 + var(--o, 1) * .1)); }
.nxs .mx-hero-case { padding: calc(var(--hdr, 58px) + 3vh) var(--g) clamp(24px, 4vh, 48px); min-height: 70svh; }
.nxs .mx-hero-case .mx-big { font-size: min(15vw, calc(92vw / (var(--ch) * .62)), 240px); margin: auto 0; }
.nxs .mx-split.mx-cs, .nxs .mx-cs-wide { padding: clamp(50px, 7vw, 110px) var(--g) clamp(20px, 3vw, 40px); }
.nxs .mx-facts { padding: 0 var(--g) clamp(40px, 6vw, 80px); }
.nxs .mx-side { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--soft); }
.nxs .pgm-hero { padding-top: calc(var(--hdr, 58px) + 8vh); } .nxs .pgm, .nxs .pgm-see { padding-left: var(--g); padding-right: var(--g); } .nxs .pgm-lede { padding: 0 var(--g); }

@media (max-width: 899px) {
  .nx-ph1 { font-size: clamp(40px, 12.4vw, 110px); } .nx-phero-foot, .nx-split { grid-template-columns: 1fr; }
  .nxs .nx-cards { grid-template-columns: 1fr; } .nxs .nx-cards > .nx-card:nth-child(even) { margin-top: 0; }
  .nx-studio-row { grid-template-columns: 1fr 1fr; } .nx-studio-row figure:nth-child(3) { display: none; } .nx-band { height: 62svh; }
}
.nxs .mx-filters { position: static; background: none; border: 0; }

/* ================= header + full-screen menu ================= */
.nxs { --hdr: 72px; }
.nxs .hdr.nh { height: var(--hdr); padding: 0 var(--g); background: transparent; border: 0; justify-content: space-between; pointer-events: none; z-index: 60; }
.nxs .hdr.nh > * { pointer-events: auto; }
.nh .brand { mix-blend-mode: difference; } .nxs .nh .wordmark { filter: brightness(0) invert(1); width: 132px; }
.nh-nav, .nh-cta, .nh-menu { background: rgb(18 18 17 / .8); color: #F5F4EF; -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 10px 34px rgb(0 0 0 / .16); }
.nh-nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; padding: 5px; border-radius: 99px; transition: opacity .3s, transform .5s var(--ease); }
.nh-nav a { position: relative; z-index: 1; padding: 9px 17px; font-size: 13.5px; line-height: 1; border-radius: 99px; color: #F5F4EF; white-space: nowrap; transition: color .25s; }
.nh-nav a.on { color: #111210; }
.nh-ind { position: absolute; top: 5px; bottom: 5px; left: 0; width: calc(var(--iw, 0) * 1px); border-radius: 99px; background: #F5F4EF; transform: translateX(calc(var(--ix, 0) * 1px)); opacity: var(--io, 0); transition: transform .45s var(--ease), width .45s var(--ease), opacity .25s; }
.nh-end { display: flex; align-items: center; gap: 8px; }
.nxs .nh-cta { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 20px; border-radius: 99px; font-size: 13.5px; color: #F5F4EF; white-space: nowrap; transition: background .25s, color .25s; }
.nh-cta svg { width: 14px; height: 14px; transition: transform .5s var(--ease); } .nh-cta:hover { background: #F5F4EF; color: #111210; } .nh-cta:hover svg { transform: translateX(4px); }
.nxs .hdr.nh .nh-menu { display: inline-flex !important; align-items: center; gap: 12px; height: 44px; min-height: 44px; padding: 0 16px 0 18px; border-radius: 99px; color: #F5F4EF; cursor: pointer; }
.nh-menu .lbl { color: inherit; font-size: 12px; } .nh-menu i { position: relative; width: 18px; height: 10px; display: block; }
.nh-menu b { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); } .nh-menu b:first-child { top: 0; } .nh-menu b:last-child { top: 8.5px; }
.nh-menu[aria-expanded="true"] b:first-child { top: 4px; transform: rotate(45deg); } .nh-menu[aria-expanded="true"] b:last-child { top: 4px; transform: rotate(-45deg); }
.nh-menu[aria-expanded="true"] { background: #F5F4EF; color: #111210; }
body.menu-open .nh-nav { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(-12px); } body.menu-open .nh-cta { opacity: 0; pointer-events: none; }
@media (max-width: 1099px) { .nh-nav { display: none; } } @media (max-width: 599px) { .nxs .nh-cta { display: none; } }

.nxs .menu.nxm { inset: 0; z-index: 55; background: #0b0b0b; color: #F5F4EF; clip-path: circle(150% at calc(100% - 60px) 36px); transition: clip-path .9s var(--ease), display .9s allow-discrete; }
@starting-style { .nxs .menu.nxm { clip-path: circle(0% at calc(100% - 60px) 36px); } }
.nxm .menu-in { height: 100%; padding: calc(var(--hdr) + 2vh) var(--g) 24px; gap: 3vh; overflow-y: auto; }
.nxm-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 90px); align-items: center; min-height: 0; }
.nxm .menu-links { counter-reset: none; display: grid; }
.nxm .menu-links a { counter-increment: none; display: grid; grid-template-columns: 44px auto 1fr; align-items: baseline; gap: 0 14px; padding: .05em 0; border: 0; overflow: hidden; font-size: clamp(34px, min(6.6vw, 9.6vh), 112px); font-weight: 600; line-height: .98; letter-spacing: -.055em; text-transform: uppercase; color: #F5F4EF; }
.nxm .menu-links a::before { content: none; }
.nxm .menu-links a b { font: 500 12px/1 var(--mono); letter-spacing: .02em; opacity: .5; transform: translateY(-1.2em); }
.nxm .menu-links a span { display: inline-block; transition: opacity .25s, transform .5s var(--ease); }
.nxm .menu-links a em { font: 500 12px/1 var(--mono); font-style: normal; letter-spacing: .02em; text-transform: uppercase; opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .5s var(--ease); white-space: nowrap; }
.nxm:not([hidden]) .menu-links a span, .nxm:not([hidden]) .menu-links a b { animation: nx-rise .9s var(--ease) both; animation-delay: calc(var(--i) * 55ms + .2s); }
.nxm:not([hidden]) .menu-links a b { animation-name: nx-fade; }
@media (hover: hover) { .nxm .menu-links:hover a span { opacity: .28; } .nxm .menu-links a:hover span { opacity: 1; transform: translateX(.12em); } .nxm .menu-links a:hover em { opacity: .7; transform: none; } }
.nxm-peek { position: relative; aspect-ratio: 4 / 5; max-height: 62vh; justify-self: end; width: 100%; max-width: 440px; border-radius: 8px; overflow: hidden; background: #161616; animation: nx-fade 1s ease .35s both; }
.nxm-peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .5s ease, transform 1.2s var(--ease); } .nxm-peek img.on { opacity: 1; transform: none; }
.nxm .menu-foot { margin: 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 24px; border-top: 1px solid rgb(245 244 239 / .16); padding-top: 18px; animation: nx-fade 1s ease .5s both; }
.nxm .menu-foot a, .nxm .menu-foot .lbl { color: #F5F4EF; } .nxm .menu-legal { align-items: center; }
.nxm .theme-sw { border-color: #F5F4EF; color: #F5F4EF; margin: 0 8px 0 0; } .nxm .theme-sw > i { background: #F5F4EF; } .nxm .theme-sw .lbl { color: #F5F4EF; mix-blend-mode: difference; }
@media (max-width: 899px) { .nxm-body { grid-template-columns: 1fr; align-items: start; } .nxm-peek { display: none; } .nxm .menu-links a { grid-template-columns: 34px 1fr; font-size: clamp(34px, 11vw, 64px); padding: .1em 0; } .nxm .menu-links a em { display: none; } }

/* ================= /services ================= */
.sx-hero { padding-bottom: clamp(30px, 5vw, 70px); } .sx-hero-links { display: flex; align-items: center; gap: 28px; padding: clamp(40px, 9vh, 110px) var(--g) 0; } .sx-hero-links .nx-n { margin-left: auto; }
.sx-flag { padding: clamp(60px, 9vw, 150px) var(--g) 0; }
.sx-flag h2 { margin: 0; display: grid; font-size: clamp(44px, 11vw, 220px); font-weight: 600; line-height: .9; letter-spacing: -.055em; text-transform: uppercase; }
.sx-flag h2 > span { display: flex; align-items: center; gap: .18em; flex-wrap: wrap; } .sx-flag h2 > span:last-child { justify-content: flex-end; }
.sx-flag i { display: inline-block; width: 1.5em; height: .74em; border-radius: 8px; overflow: hidden; clip-path: inset(0 calc(var(--o, 0) * 30%) 0 calc(var(--o, 0) * 30%) round 8px); }
.sx-flag i img { width: 100%; height: 100%; object-fit: cover; }
.sx-logos { margin-top: 0; }
.sx-list { padding: clamp(60px, 8vw, 130px) var(--g) clamp(40px, 6vw, 90px); } .sx-list-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; }
.sx-item { border-top: 1px solid var(--rule); padding: clamp(20px, 2.4vw, 36px) 0 clamp(50px, 7vw, 110px); transition: opacity .35s; }
.sx-item header { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: clamp(30px, 5vw, 80px); }
.sx-item h2, .sx-item header span { margin: 0; font-size: clamp(32px, 6vw, 110px); font-weight: 600; line-height: .92; letter-spacing: -.055em; text-transform: uppercase; }
.sx-item header span { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.sx-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 70px); align-items: start; }
.sx-text p { margin: 0 0 28px; font-size: clamp(18px, 1.7vw, 26px); line-height: 1.28; letter-spacing: -.02em; }
.sx-tags { list-style: none; margin: 0; padding: 0; } .sx-tags li { padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15px; } .sx-tags li:first-child { border-top: 1px solid var(--rule); }
.sx-img { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; perspective: 900px; background: #0b0b0b; } .sx-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .sx-list:hover .sx-item:not(:hover) { opacity: .4; } }
.sx-spaces { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); padding: clamp(80px, 11vw, 170px) var(--g); }
.sx-spaces h2 { margin: 0; font-size: clamp(44px, 8.4vw, 160px); font-weight: 600; line-height: .86; letter-spacing: -.055em; text-transform: uppercase; }
.sx-spaces ul { list-style: none; margin: 16px 0 34px; padding: 0; columns: 2; column-gap: 30px; } .sx-spaces li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: clamp(16px, 1.5vw, 22px); letter-spacing: -.02em; break-inside: avoid; }
.sx-prog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 var(--g) clamp(60px, 8vw, 120px); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.sx-prog { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.6vw, 40px); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: inherit; transition: background .35s, color .35s; }
.sx-prog .pg-mark { width: 36px; height: 36px; margin: 0 0 clamp(30px, 5vw, 80px); } .sx-prog b { font-size: clamp(26px, 2.6vw, 42px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.sx-prog p { margin: 6px 0 14px; font-size: 14px; line-height: 1.45; color: var(--soft); transition: color .35s; } .sx-prog i { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); font-style: normal; text-transform: uppercase; } .sx-prog i svg { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.sx-prog:hover { background: var(--ink); color: var(--paper); } .sx-prog:hover p, .sx-prog:hover .nx-n { color: color-mix(in srgb, var(--paper) 70%, var(--ink)); } .sx-prog:hover i svg { transform: translateX(5px); }
@media (max-width: 899px) { .sx-body, .sx-spaces { grid-template-columns: 1fr; } .sx-prog-grid { grid-template-columns: 1fr; } .sx-hero-links { flex-wrap: wrap; gap: 14px 22px; } }
.nxs .hdr.nh .nh-menu[aria-expanded="true"] { background: #F5F4EF; color: #111210; } .nxs .hdr.nh .nh-menu .lbl { color: inherit; }
.nxm .menu-links a { font-size: clamp(34px, min(6.4vw, 8.4vh), 108px); }
@media (max-width: 899px) { .nxm .menu-links a { font-size: clamp(34px, 11vw, 64px); } }

/* ================= trusted by: flowing logo tiles ================= */
.tb { padding: clamp(60px, 8vw, 130px) 0; overflow: hidden; }
.tb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 0 var(--g) clamp(22px, 3vw, 40px); }
.tb-head h2 { margin: 0; order: -1; font-size: clamp(34px, 5vw, 84px); font-weight: 600; line-height: .9; letter-spacing: -.055em; text-transform: uppercase; }
.tb-flow { display: flex; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tb-flow ul { list-style: none; margin: 0; padding: 0 clamp(6px, .7vw, 10px); display: flex; gap: clamp(12px, 1.4vw, 20px); flex: none; animation: nx-mq 48s linear infinite; }
.tb-flow:hover ul { animation-play-state: paused; }
.tb-flow li { position: relative; flex: none; width: clamp(190px, 19vw, 290px); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px 18px 40px; border: 1px solid var(--rule); border-radius: 10px; background: var(--tint); transition: background .4s var(--ease), color .4s var(--ease), transform .6s var(--ease); }
.tb-mark { display: grid; place-items: center; width: 100%; transition: transform .6s var(--ease); }
.tb-mark img { display: block; max-width: min(72%, 170px); max-height: 52px; width: auto; height: auto; object-fit: contain; }
.tb-mark img.tb-mono { filter: brightness(0); min-height: 44px; }
.tb-word { font-size: clamp(16px, 1.6vw, 26px); font-weight: 600; letter-spacing: -.04em; text-align: center; }
.tb-name { position: absolute; left: 16px; bottom: 14px; font: 500 11px/1 var(--mono); text-transform: uppercase; color: var(--soft); }
html[data-theme="dark"] .tb-mark img { filter: invert(1); } html[data-theme="dark"] .tb-mark img.tb-mono { filter: brightness(0) invert(1); }
@media (hover: hover) {
  .tb-flow li:hover { background: var(--ink); color: var(--paper); transform: translateY(-6px); } .tb-flow li:hover .tb-mark { transform: scale(1.08); }
  .tb-flow li:hover .tb-mark img { filter: invert(1); } .tb-flow li:hover .tb-mark img.tb-mono { filter: brightness(0) invert(1); }
  html[data-theme="dark"] .tb-flow li:hover .tb-mark img { filter: none; } html[data-theme="dark"] .tb-flow li:hover .tb-mark img.tb-mono { filter: brightness(0); }
  .tb-flow li:hover .tb-name { color: color-mix(in srgb, var(--paper) 70%, var(--ink)); }
}
@media (prefers-reduced-motion: reduce) { .tb-flow { overflow-x: auto; } .tb-flow ul { animation: none; } .tb-flow ul[aria-hidden] { display: none; } }

/* ---- header logo: always on a dark glass pill so it reads on light and dark screens ---- */
.nh .brand { mix-blend-mode: normal; display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 99px; background: rgb(18 18 17 / .82); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 10px 34px rgb(0 0 0 / .16); }
.nxs .nh .wordmark { width: 112px; filter: brightness(0) invert(1); }
html[data-theme="dark"] .nh .brand { background: rgb(18 18 17 / .82); }

/* ================= about: why we exist ================= */
.og { padding: clamp(90px, 12vw, 190px) var(--g); }
.og-top { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 100px); } .og-top h2 { margin: 0; font-size: clamp(54px, 12vw, 240px); font-weight: 600; line-height: .84; letter-spacing: -.06em; text-transform: uppercase; }
.og-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(30px, 6vw, 110px); align-items: center; padding-bottom: clamp(60px, 9vw, 150px); }
.og-mark { display: grid; justify-items: center; gap: 22px; padding: clamp(30px, 5vw, 80px) 0; perspective: 900px; }
.og-mark .nx-card-in { position: static; display: block; width: min(100%, 520px); animation: og-float 7s ease-in-out infinite; }
.og-mark img { display: block; width: 100%; height: auto; }
@keyframes og-float { 50% { translate: 0 -14px; } }
.og-copy { display: grid; gap: 22px; max-width: 58ch; } .og-copy p { margin: 0; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.55; color: var(--soft); } .og-copy b { color: var(--ink); font-weight: 500; }
.og-copy .og-lede { font-size: clamp(26px, 3.4vw, 54px); line-height: 1.02; letter-spacing: -.04em; color: var(--ink); font-weight: 500; }
.og-tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.og-tri-c { position: relative; display: grid; gap: 10px; align-content: start; padding: clamp(24px, 3vw, 44px) clamp(18px, 2.4vw, 36px) clamp(30px, 4vw, 60px) 0; border-right: 1px solid var(--rule); overflow: hidden; } .og-tri-c + .og-tri-c { padding-left: clamp(18px, 2.4vw, 36px); } .og-tri-c:last-child { border-right: 0; }
.og-dev { font-size: clamp(60px, 9vw, 150px); line-height: 1; font-weight: 500; color: transparent; -webkit-text-stroke: 1px var(--soft); font-family: "Geist", "Noto Sans Devanagari", "Kohinoor Devanagari", "Devanagari Sangam MN", system-ui, sans-serif; }
.og-tri-c h3 { margin: 0; font-size: clamp(32px, 4vw, 68px); font-weight: 600; line-height: .92; letter-spacing: -.05em; text-transform: uppercase; }
.og-tri-c p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--soft); max-width: 36ch; }
.og-vals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 5vw, 90px); padding: clamp(70px, 10vw, 170px) 0 clamp(50px, 7vw, 110px); }
.og-vals-h { display: grid; gap: 16px; align-content: start; } .og-vals-h h3 { margin: 0; font-size: clamp(34px, 4.6vw, 78px); font-weight: 600; line-height: .9; letter-spacing: -.055em; text-transform: uppercase; }
.og-vals ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.og-vals li { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 4px 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.og-vals li b { font-size: clamp(22px, 2.4vw, 38px); font-weight: 500; letter-spacing: -.04em; } .og-vals li p { margin: 0; grid-column: 2; font-size: 15px; line-height: 1.5; color: var(--soft); }
.og-vdev { grid-column: 1; font-size: 13px; color: var(--soft); order: -1; font-family: "Geist", "Noto Sans Devanagari", "Devanagari Sangam MN", system-ui, sans-serif; } .og-vals li { grid-template-areas: "dev text" "name text"; } .og-vals li .og-vdev { grid-area: dev; } .og-vals li b { grid-area: name; } .og-vals li p { grid-area: text; grid-column: auto; }
.og-founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 14px clamp(24px, 5vw, 90px); align-items: start; border-top: 1px solid var(--rule); padding-top: 26px; } .og-founder p { margin: 0; font-size: clamp(20px, 2.1vw, 32px); line-height: 1.2; letter-spacing: -.025em; max-width: 34em; grid-column: 2; } .og-founder b { font-weight: 500; } .og-founder .nx-more { grid-column: 2; color: var(--ink); margin-top: 8px; }

/* ================= about: globe ================= */
.gl { padding: clamp(80px, 11vw, 170px) var(--g); border-top: 1px solid var(--rule); }
.gl-head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px clamp(24px, 4vw, 70px); align-items: end; margin-bottom: clamp(24px, 4vw, 60px); } .gl-head .nx-n { grid-column: 1 / -1; }
.gl-head h2 { margin: 0; font-size: clamp(44px, 8.6vw, 170px); font-weight: 600; line-height: .86; letter-spacing: -.055em; text-transform: uppercase; } .gl-head p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--soft); max-width: 40ch; }
.gl-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 70px); align-items: center; }
.gl-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 880px; justify-self: center; } .gl-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gl-list { list-style: none; margin: 0 0 clamp(20px, 3vw, 40px); padding: 0; border-top: 1px solid var(--rule); }
.gl-item { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 18px; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); text-align: left; color: var(--soft); cursor: pointer; transition: color .3s, padding .5s var(--ease); }
.gl-item b { font-size: clamp(20px, 2vw, 30px); font-weight: 500; letter-spacing: -.035em; color: inherit; } .gl-kind { font: 500 11px/1 var(--mono); text-transform: uppercase; } .gl-item i { opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .5s var(--ease); align-self: center; } .gl-item i svg { width: 16px; height: 16px; }
.gl-item:hover, .gl-item.on { color: var(--ink); } .gl-item.on { padding-left: 12px; } .gl-item.on i, .gl-item:hover i { opacity: 1; transform: none; } .gl-item.on .nx-n { color: rgb(255 154 60); }
.gl-detail { display: grid; gap: 10px; padding: 20px 0 0; min-height: 11em; } .gl-detail h3 { margin: 0; font-size: clamp(26px, 3vw, 46px); font-weight: 600; letter-spacing: -.045em; line-height: 1; } .gl-detail p { margin: 0; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.45; max-width: 36ch; }
@media (max-width: 899px) { .og-grid, .og-vals, .og-founder, .gl-head, .gl-body { grid-template-columns: 1fr; } .og-tri { grid-template-columns: 1fr; } .og-tri-c, .og-tri-c + .og-tri-c { padding: 24px 0 30px; border-right: 0; border-bottom: 1px solid var(--rule); } .og-founder p, .og-founder .nx-more { grid-column: 1; } .gl-item { grid-template-columns: 28px 1fr auto; } .gl-item i { display: none; } }
@media (prefers-reduced-motion: reduce) { .og-mark .nx-card-in { animation: none; } }
.gl-head h2 { font-size: clamp(40px, 6.6vw, 124px); }

/* ================= imagery pass: dharma scene, film bands ================= */
.og { padding-top: 0; }
.og-hero { position: relative; height: min(92svh, 70vw); min-height: 440px; margin: 0 calc(var(--g) * -1) clamp(50px, 8vw, 130px); overflow: hidden; clip-path: inset(0 calc(var(--o, 1) * var(--g)) 0 calc(var(--o, 1) * var(--g)) round calc(var(--o, 1) * 8px)); }
.og-hero .nx-band-in img, .og-wide .nx-band-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.og-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(8 8 8 / .35), rgb(8 8 8 / .1) 40%, rgb(8 8 8 / .82)); }
.og-hero .og-top { position: absolute; left: var(--g); right: var(--g); bottom: clamp(24px, 4vw, 60px); z-index: 1; margin: 0; color: #F5F4EF; }
.og-hero .og-top .nx-n { color: rgb(245 244 239 / .75); }
.og-mark { position: relative; border-radius: 10px; overflow: hidden; background: #0b0b0b; aspect-ratio: 5 / 4; align-content: center; padding: 0; }
.og-mark-bg { position: absolute; inset: 0; opacity: .5; }
.og-mark-bg video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.og-mark::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgb(0 0 0 / 0), rgb(0 0 0 / .55)); pointer-events: none; }
.og-mark .nx-card-in { position: relative; z-index: 1; width: min(62%, 420px); }
.og-mark > .nx-n { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 1; text-align: center; color: rgb(245 244 239 / .75); }
.og-tri { gap: clamp(14px, 1.8vw, 28px); border-top: 0; }
.og-tri-c, .og-tri-c + .og-tri-c { padding: 0 0 clamp(30px, 4vw, 60px); border-right: 0; }
.og-tri-img { position: relative; margin: 0 0 18px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; perspective: 900px; background: #0b0b0b; }
.og-tri-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.og-tri-img .og-dev { position: absolute; left: 18px; bottom: 12px; z-index: 1; -webkit-text-stroke: 1px rgb(245 244 239 / .85); font-size: clamp(54px, 7vw, 120px); pointer-events: none; }
.og-tri-img::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, rgb(0 0 0 / 0), rgb(0 0 0 / .6)); pointer-events: none; }
.og-vpics { position: relative; margin-top: clamp(20px, 3vw, 44px); aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #0b0b0b; }
.og-vpic { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity .6s ease, transform 1.4s var(--ease); }
.og-vpic.on { opacity: 1; transform: none; }
.og-vpic img { width: 100%; height: 100%; object-fit: cover; }
.og-vals li { cursor: default; transition: padding .5s var(--ease), opacity .3s; }
@media (hover: hover) { .og-vals ul:hover li:not(:hover) { opacity: .4; } .og-vals li:hover { padding-left: 12px; } }
.og-wide { position: relative; height: min(70svh, 46vw); min-height: 260px; margin: 0 0 clamp(50px, 7vw, 110px); overflow: hidden; border-radius: 10px; clip-path: inset(0 calc(var(--o, 0) * 6%) 0 calc(var(--o, 0) * 6%) round 10px); }
.og-founder { border-top: 0; padding-top: 0; }

.nx-film { padding: 0 0 clamp(40px, 6vw, 90px); }
.nx-film .nx-band { height: min(88svh, 56vw); }
.nx-band-in > video, .og-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nx-film .nx-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .1), rgb(0 0 0 / .65)); pointer-events: none; }
.nx-film-cap { position: absolute; left: calc(var(--g) * 2); right: calc(var(--g) * 2); bottom: clamp(24px, 4vw, 56px); z-index: 1; display: grid; gap: 12px; justify-items: start; color: #F5F4EF; }
.nx-film-cap .nx-n { color: rgb(245 244 239 / .75); }
.nx-film-cap p { margin: 0; font-size: clamp(30px, 5vw, 90px); font-weight: 600; line-height: .92; letter-spacing: -.05em; text-transform: uppercase; }
.nx-film-cap .nx-more { color: #F5F4EF; }
.nx-studio-row figure video { width: 100%; height: 100%; object-fit: cover; }
.sx-flag i video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sx-spaces { position: relative; overflow: hidden; }
.sx-spaces > * { position: relative; z-index: 1; }
.sx-spaces-bg { position: absolute !important; inset: 0; z-index: 0 !important; opacity: .6; }
.sx-spaces-bg video { width: 100%; height: 100%; object-fit: cover; }
.sx-spaces-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(11 11 11 / .86), rgb(11 11 11 / .3)); }
.pgm-band { margin-top: clamp(40px, 6vw, 90px); height: min(70svh, 44vw); }
@media (max-width: 899px) { .og-hero { height: 70svh; } .og-wide, .pgm-band, .nx-film .nx-band { height: 56svh; } }

/* ================= the mark as three windows: Brahma, Vishnu, Shiva ================= */
.og-mark { aspect-ratio: 1 / 1; display: grid; place-items: center; }
.tm { position: relative; z-index: 1; width: 86%; display: grid; gap: clamp(16px, 2.4vw, 34px); justify-items: center; }
.tm-stage { position: relative; width: 100%; aspect-ratio: 333 / 206; animation: og-float 7s ease-in-out infinite; }
.tm-f { position: absolute; top: .87%; height: 97.77%; padding: 0; border: 0; background: #111; overflow: hidden; cursor: pointer; -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat; transition: transform .7s var(--ease), filter .5s ease; }
.tm-l { left: .54%; width: 35.2%; --m: url(/assets/media/tri-mask-l.png); --fx: 39%; transform-origin: 30% 60%; }
.tm-c { left: 25.17%; width: 49.67%; --m: url(/assets/media/tri-mask-c.png); --fx: 50%; z-index: 2; transform-origin: 50% 60%; }
.tm-r { left: 63.96%; width: 35.5%; --m: url(/assets/media/tri-mask-r.png); --fx: 61%; transform-origin: 70% 60%; }
.tm-f img { position: absolute; top: -9%; left: var(--fx); height: 132%; width: auto; max-width: none; transform: translateX(-50%); transition: transform 1.2s var(--ease); }
.tm-c img { height: 124%; top: -6%; }
.tm-stage.has .tm-f:not(.on) { filter: brightness(.38) saturate(.5); }
.tm-f.on { transform: scale(1.05); } .tm-f.on img { transform: translateX(-50%) scale(1.07); }
.tm-cap { margin: 0; display: grid; gap: 8px; justify-items: center; text-align: center; color: #F5F4EF; }
.tm-cap b { font-size: clamp(20px, 2.2vw, 34px); font-weight: 600; letter-spacing: -.04em; text-transform: uppercase; }
.tm-cap .nx-n { color: rgb(245 244 239 / .75); }

@media (prefers-reduced-motion: reduce) { .tm-stage { animation: none; } }

/* ================= immersion pass: smooth scroll, page transitions, light, grain, pinned Tridev ================= */
html.lenis { height: auto; scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: nx-vt-out .45s cubic-bezier(.7, 0, .3, 1) both; }
::view-transition-new(root) { animation: nx-vt-in .9s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes nx-vt-out { to { opacity: 0; transform: scale(.97); filter: blur(6px); } }
@keyframes nx-vt-in { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(140% at 50% 50%); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* film grain over everything, very light */
.nxs .grain { display: block; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05; background: url(/assets/grain.png) 0 0 / 220px 220px; }

/* a soft light that follows the pointer across dark scenes */
.nx-on .nx-inv, .nx-on .mf { --lx: -999px; --ly: -999px; }
.nx-on .nx-inv::before, .nx-on .mf::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(520px circle at var(--lx) var(--ly), rgb(255 236 200 / .075), transparent 62%); }
.nx-on .mf { position: relative; }
@media (hover: none) { .nx-on .nx-inv::before, .nx-on .mf::before { display: none; } }

/* Tridev: three full-screen scenes held in place while you scroll */
.og-tri-ui { display: none; }
.nx-on .og-tri { display: block; height: calc(var(--n, 3) * 95svh + 100svh); margin: 0 calc(var(--g) * -1) clamp(60px, 9vw, 150px); }
.nx-on .og-tri-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #000; }
.nx-on .og-tri-c, .nx-on .og-tri-c + .og-tri-c { position: absolute; inset: 0; padding: 0 var(--g) clamp(44px, 8vh, 96px); display: grid; align-content: end; justify-items: start; gap: 12px; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s 1s; color: #F5F4EF; }
.nx-on .og-tri-c.act { opacity: 1; visibility: visible; transition: opacity 1s ease; }
.nx-on .og-tri-img { position: absolute; inset: 0; margin: 0; border-radius: 0; aspect-ratio: auto; pointer-events: none; }
.nx-on .og-tri-img .nx-card-in { position: absolute; inset: 0; transform: none; }
.nx-on .og-tri-img img { object-position: 50% 28%; transform: scale(1.16); transition: transform 8s ease-out; }
.nx-on .og-tri-c.act .og-tri-img img { transform: scale(1.02); }
.nx-on .og-tri-img::after { inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / .72), rgb(0 0 0 / .12) 55%), linear-gradient(180deg, rgb(0 0 0 / .35), rgb(0 0 0 / 0) 30%, rgb(0 0 0 / .8)); }
.nx-on .og-tri-img .og-dev { left: auto; right: var(--g); bottom: auto; top: 50%; font-size: clamp(90px, 26vh, 300px); transform: translateY(-50%); -webkit-text-stroke: 1.5px rgb(245 244 239 / .8); }
.nx-on .og-tri-c h3, .nx-on .og-tri-c > .nx-n, .nx-on .og-tri-c > p { position: relative; z-index: 1; }
.nx-on .og-tri-c h3 { font-size: clamp(64px, 14vw, 260px); line-height: .82; letter-spacing: -.06em; transform: translateY(40px); transition: transform 1.2s var(--ease); }
.nx-on .og-tri-c.act h3 { transform: none; }
.nx-on .og-tri-c > .nx-n { color: rgb(245 244 239 / .8); }
.nx-on .og-tri-c > p { max-width: 42ch; font-size: clamp(16px, 1.5vw, 22px); line-height: 1.45; color: rgb(245 244 239 / .88); }
.nx-on .og-tri-ui { display: flex; position: absolute; left: var(--g); right: var(--g); top: calc(var(--hdr, 72px) + 14px); z-index: 3; justify-content: space-between; align-items: center; gap: 16px; color: rgb(245 244 239 / .8); font: 500 12px/1 var(--mono); text-transform: uppercase; }
.og-tri-count b { color: #F5F4EF; font-weight: 500; }
.og-tri-bar { flex: 1; max-width: 240px; height: 1px; background: rgb(245 244 239 / .25); position: relative; } .og-tri-bar i { position: absolute; inset: 0; background: #F5F4EF; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
@media (max-width: 899px) { .nx-on .og-tri-img .og-dev { top: 30%; font-size: 22vh; } .nx-on .og-tri-img img { object-position: 50% 20%; } }

/* globe: associated organisations for the selected place */
.gl-orgs { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.gl-orgs li { display: grid; place-items: center; height: 56px; min-width: 110px; padding: 0 18px; border-radius: 10px; background: #F5F4EF; color: #111210; animation: nx-fade .6s ease both; }
.gl-orgs li:nth-child(2) { animation-delay: .08s; } .gl-orgs li:nth-child(3) { animation-delay: .16s; }
.gl-orgs img { display: block; max-height: 30px; max-width: 130px; width: auto; height: auto; object-fit: contain; }
.gl-orgs li.txt { font-size: 15px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.gl-detail { min-height: 16em; }
.gl-orgs li.dk { background: #0a0a0a; color: #F5F4EF; box-shadow: inset 0 0 0 1px rgb(245 244 239 / .2); }
.gl-orgs li.dk img { max-height: 34px; max-width: 170px; }
.gl-orgs img[src$='.svg'] { width: auto; }

/* ================= header: no boxes, everything inverts with what is behind it ================= */
.nxs .hdr.nh { --hc: var(--nx-ink); --hi: var(--nx-paper); }
.nxs .hdr.nh[data-tone="inv"] { --hc: var(--nx-paper); --hi: var(--nx-ink); }
.nxs .hdr.nh[data-tone="dark"] { --hc: #F5F4EF; --hi: #111210; }
.nxs .hdr.nh { color: var(--hc); transition: color .35s ease; }
.nxs .hdr.nh .brand { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; height: auto; mix-blend-mode: normal; }
.nxs .hdr.nh .wordmark { width: 128px; filter: brightness(0); transition: filter .35s ease; }
html[data-theme="dark"] .nxs .hdr.nh .wordmark { filter: brightness(0) invert(1); }
.nxs .hdr.nh[data-tone="inv"] .wordmark, .nxs .hdr.nh[data-tone="dark"] .wordmark { filter: brightness(0) invert(1); }
html[data-theme="dark"] .nxs .hdr.nh[data-tone="inv"] .wordmark { filter: brightness(0); }

/* plain type only: no pills, no outlines, no fills */
.nxs .hdr.nh .nh-nav, .nxs .hdr.nh .nh-cta, .nxs .hdr.nh .nh-menu { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; border-radius: 0; padding: 0; height: auto; min-height: 0; color: var(--hc); transition: color .35s ease, opacity .25s ease; }
.nxs .hdr.nh .nh-nav { gap: 4px; }
.nxs .hdr.nh .nh-nav a { padding: 10px 14px; border-radius: 0; background: none; color: var(--hc); font-size: 14px; }
.nxs .hdr.nh .nh-nav a.on { color: var(--hc); background: none; }
.nxs .hdr.nh .nh-ind { top: auto; bottom: 4px; height: 1px; border-radius: 0; background: var(--hc); width: calc(var(--iw, 0) * 1px - 28px); transform: translateX(calc(var(--ix, 0) * 1px + 14px)); }
.nxs .hdr.nh .nh-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding-bottom: 3px; border-bottom: 1px solid var(--hc); }
.nxs .hdr.nh .nh-cta svg { width: 13px; height: 13px; }
.nxs .hdr.nh .nh-menu { display: inline-flex !important; align-items: center; gap: 10px; cursor: pointer; }
.nxs .hdr.nh .nh-menu .lbl { color: inherit; font-size: 13px; }
.nxs .hdr.nh .nh-cta:hover, .nxs .hdr.nh .nh-menu:hover { background: none; color: var(--hc); opacity: .6; }
.nxs .hdr.nh .nh-menu[aria-expanded="true"] { background: none; color: var(--hc); }
.nxs .hdr.nh .nh-menu b { background: currentColor; }

/* the full-screen menu follows the theme too: the inverse of the page */
.nxs .menu.nxm { background: var(--nx-ink); color: var(--nx-paper); }
.nxm .menu-links a, .nxm .menu-links a b, .nxm .menu-links a em { color: var(--nx-paper); }
.nxm .menu-foot, .nxm .menu-foot a, .nxm .menu-foot .lbl { color: var(--nx-paper); border-color: color-mix(in srgb, var(--nx-paper) 18%, transparent); }
.nxm .theme-sw { border: 0; color: var(--nx-paper); } .nxm .theme-sw > i { display: none; } .nxm .theme-sw .lbl { color: var(--nx-paper); opacity: .5; padding: 0 10px 0 0; mix-blend-mode: normal; } .nxm .theme-sw .lbl:first-child { opacity: 1; }
.nxm .nxm-peek { background: color-mix(in srgb, var(--nx-paper) 10%, var(--nx-ink)); }
.nxm .theme-sw[aria-pressed="true"] .lbl:first-child { opacity: .5; } .nxm .theme-sw[aria-pressed="true"] .lbl:last-child { opacity: 1; }

/* 2026-11-18: case tiles no longer wash out to white while scrolling. They stay fully opaque (only a small rise on reveal),
   and hovering one tile no longer dims the others. */
.js .nxs .mx-card.rv { opacity: 1; transform: translateY(18px); transition: transform .8s var(--ease); }
.js .nxs .mx-card.rv.in { transform: none; }
@media (hover: hover) { .nxs .mx-cards:hover .mx-card:not(:hover) { opacity: 1; } }

/* ---------- About · Built on dharma v3 (2026-11-18): a held scene you can explore ---------- */
.dm { --dm-ink: #EEEAE0; --dm-gold: #E8C27A; --dm-serif: "Iowan Old Style", "Palatino", "Book Antiqua", Georgia, serif; background: #050505; color: var(--dm-ink); }
.dm em { font-family: var(--dm-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.dm-seq { position: relative; margin: 0 calc(var(--g) * -1); }
.dm-pin { position: relative; overflow: hidden; background: #050505; padding: clamp(90px, 12vw, 160px) var(--g) clamp(60px, 8vw, 110px); display: grid; gap: clamp(30px, 5vw, 60px); }
.dm-bg { position: absolute; inset: 0; pointer-events: none; }
.dm-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .09; filter: grayscale(.6) contrast(1.1); transform: scale(calc(1.12 - var(--p, 0) * .08)); }
.dm-lit img { opacity: .55; filter: sepia(.35) saturate(1.2) brightness(1.05); }
.dm-lit { -webkit-mask: radial-gradient(circle var(--lr, 0px) at var(--lx, 50%) var(--ly, 60%), #000 0%, rgb(0 0 0 / .45) 45%, transparent 100%); mask: radial-gradient(circle var(--lr, 0px) at var(--lx, 50%) var(--ly, 60%), #000 0%, rgb(0 0 0 / .45) 45%, transparent 100%); }
.dm-pin::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 75% at 50% 50%, transparent 40%, rgb(5 5 5 / .85)); }
.dm-dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.dm-head { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.dm-head .nx-n { color: rgb(238 234 224 / .45); }
.dm-head h2 { margin: 0; font-size: clamp(20px, 1.8vw, 28px); font-weight: 400; letter-spacing: -.02em; color: rgb(238 234 224 / .85); text-transform: none; line-height: 1; }
.dm-head h2 em { color: var(--dm-gold); }
.dm-stage { position: relative; z-index: 2; display: grid; gap: clamp(30px, 5vw, 60px); justify-items: center; }
.dm-art { position: relative; width: min(84vw, 520px); display: grid; place-items: center; }
.dm-ring { position: absolute; left: 50%; top: 50%; width: 128%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(var(--rot, 0deg)); pointer-events: none; overflow: visible; }
.dm-ring circle { fill: none; stroke: rgb(238 234 224 / .07); stroke-width: .3; }
.dm-ring text { font: 500 5.2px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .1em; fill: rgb(232 194 122 / .38); }
.dm-mark { position: relative; width: 100%; aspect-ratio: 333 / 206; transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); }
.dm-f { all: unset; box-sizing: border-box; position: absolute; top: .87%; height: 97.77%; overflow: hidden; background: #101010; cursor: pointer; -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat; opacity: var(--fo, .86); filter: brightness(var(--fb, .82)) saturate(var(--fs, .9)); transition: opacity 1.6s ease, filter 1.6s ease, transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.dm-l { left: .54%; width: 35.2%; --m: url(/assets/media/tri-mask-l.png); transform-origin: 30% 60%; }
.dm-c { left: 25.17%; width: 49.67%; --m: url(/assets/media/tri-mask-c.png); z-index: 2; transform-origin: 50% 60%; }
.dm-r { left: 63.96%; width: 35.5%; --m: url(/assets/media/tri-mask-r.png); transform-origin: 70% 60%; }
.dm-f video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.dm-ft { position: absolute; left: 0; right: 0; bottom: 14%; text-align: center; font: 500 10px/1 "Geist Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .5s; text-shadow: 0 1px 8px rgb(0 0 0 / .8); }
.dm-f:focus-visible { outline: none; filter: brightness(1.1); }
@media (hover: hover) { .dm-f:hover { --fb: 1.04; --fo: 1; } .dm-f:hover .dm-ft { opacity: .9; } }
.dm.focus .dm-f { --fo: .2; --fb: .42; --fs: .35; }
.dm.focus .dm-f.on { --fo: 1; --fb: 1.05; --fs: 1.05; transform: scale(1.04); }

/* chapters */
.dm-text { position: relative; width: min(100%, 560px); display: grid; gap: 40px; }
.dm-s { position: relative; }
.dm-k { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 500 11px/1 "Geist Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: rgb(238 234 224 / .5); }
.dm-k span { color: var(--dm-gold); font-family: var(--dm-serif); font-size: 15px; letter-spacing: 0; text-transform: none; font-style: italic; }
.dm-k::after { content: ""; flex: 1; max-width: 80px; height: 1px; background: rgb(238 234 224 / .2); }
.dm-b { margin: 0; font-size: clamp(22px, 2.15vw, 33px); line-height: 1.24; letter-spacing: -.022em; font-weight: 400; color: var(--dm-ink); }
.dm-b em { color: var(--dm-gold); }
.dm-foot { margin: 18px 0 0; font: 400 13px/1.5 "Geist Mono", monospace; letter-spacing: .04em; color: rgb(238 234 224 / .5); }
.dm-wm { position: absolute; right: -4%; top: 50%; transform: translateY(-58%); font-family: "Noto Sans Devanagari", "Kohinoor Devanagari", "Devanagari Sangam MN", system-ui, sans-serif; font-size: clamp(110px, 16vw, 240px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgb(232 194 122 / .16); pointer-events: none; z-index: -1; white-space: nowrap; }
.dm-rail { display: none; }
.dm-cue { display: none; }

/* live: the scene holds, chapters replace one another word by word */
.dm-live .dm-seq { height: calc(var(--n, 7) * 70svh + 100svh); }
.dm-live .dm-pin { position: sticky; top: 0; height: 100svh; padding: calc(var(--hdr, 72px) + 20px) var(--g) clamp(28px, 5vh, 56px); grid-template-rows: auto 1fr; gap: 0; }
.dm-live .dm-stage { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; align-self: stretch; gap: clamp(30px, 5vw, 90px); padding-left: clamp(0px, 9vw, 150px); }
.dm-live .dm-art { width: min(40vw, 540px); animation: dm-breathe 10s ease-in-out infinite; }
@keyframes dm-breathe { 50% { scale: 1.016; } }
.dm-live .dm-text { display: block; justify-self: start; height: clamp(250px, 40vh, 380px); }
.dm-live .dm-s { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); pointer-events: none; }
.dm-live .dm-s.on { pointer-events: auto; }
.dm-live .dm-k, .dm-live .dm-foot, .dm-live .dm-wm { opacity: 0; transition: opacity 1s ease; }
.dm-live .dm-s.on .dm-k { opacity: 1; transition-delay: .1s; } .dm-live .dm-s.on .dm-foot { opacity: 1; transition-delay: .9s; } .dm-live .dm-s.on .dm-wm { opacity: 1; transition: opacity 2.4s ease .2s; }
.dm-live .dw { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(.4em); transition: opacity .45s ease, filter .6s ease, transform .6s cubic-bezier(.16, 1, .3, 1); transition-delay: 0s; }
.dm-live .dm-s.on .dw { opacity: 1; filter: none; transform: none; transition-delay: calc(.25s + var(--i) * 45ms); }
.dm-live .dm-s.on .dm-b em .dw { color: var(--dm-gold); text-shadow: 0 0 22px rgb(232 194 122 / .35); }
.dm-live .dm-rail { display: grid; gap: 4px; position: absolute; left: var(--g); top: 50%; transform: translateY(-50%); z-index: 3; list-style: none; margin: 0; padding: 0; }
.dm-rail button { all: unset; cursor: pointer; display: flex; align-items: baseline; gap: 10px; padding: 5px 0; color: rgb(238 234 224 / .32); transition: color .4s; }
.dm-rail span { width: 26px; font-family: var(--dm-serif); font-style: italic; font-size: 14px; }
.dm-rail b { font: 500 10px/1 "Geist Mono", monospace; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .4s; }
.dm-rail button:hover, .dm-rail button:focus-visible { color: var(--dm-ink); } .dm-rail button:hover b, .dm-rail button:focus-visible b { opacity: 1; transform: none; }
.dm-rail button[aria-current] { color: var(--dm-gold); } .dm-rail button[aria-current] b { opacity: 1; transform: none; }
.dm-rail button:focus-visible { outline: 1px solid var(--dm-gold); outline-offset: 4px; }
.dm-live .dm-cue { display: flex; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; align-items: center; gap: 10px; font: 500 10px/1 "Geist Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: rgb(238 234 224 / .4); opacity: calc(1 - var(--p, 0) * 12); }
.dm-cue i { width: 1px; height: 26px; background: linear-gradient(rgb(238 234 224 / 0), rgb(238 234 224 / .6)); animation: dm-cue 2.2s ease-in-out infinite; }
@keyframes dm-cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* the rest of the section, calmer */
.dm-vals { padding-top: clamp(80px, 11vw, 170px); }
.dm-vals .og-vals-h h3 { font-weight: 400; text-transform: none; letter-spacing: -.035em; font-size: clamp(30px, 3.6vw, 58px); line-height: 1.02; }
.dm-vals li b { font-weight: 400; }
@media (hover: hover) { .dm-vals ul:hover li:not(:hover) { opacity: 1; } .dm-vals li:hover { padding-left: 0; } }
.dm-wide .nx-band-in img { opacity: .55; filter: saturate(.75); }

@media (max-width: 899px) {
  .dm-head { flex-direction: column; gap: 8px; }
  .dm-live .dm-stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding: 4vh 0 0; gap: 0; align-items: start; justify-items: center; }
  .dm-live .dm-art { width: min(74vw, 380px); margin-top: 3vh; }
  .dm-live .dm-text { justify-self: stretch; height: auto; min-height: 36vh; }
  .dm-live .dm-s { top: 0; transform: none; padding-top: 7vh; }
  .dm-b { font-size: clamp(20px, 5.6vw, 26px); }
  .dm-wm { right: 0; font-size: 34vw; top: 30%; }
  .dm-live .dm-rail { display: none; }
}
@media (prefers-reduced-motion: reduce) { .dm-art, .dm-mark, .dm-f { animation: none; transition: none; } .dm-cue i { animation: none; } }
@media (max-width: 899px) {
  .dm-live .dm-pin { padding-bottom: 92px; }
  .dm-ring { width: 116%; } .dm-ring text { fill: rgb(232 194 122 / .26); }
  .dm-live .dm-art { width: min(64vw, 340px); margin-top: 1vh; }
  .dm-live .dm-s { padding-top: 4vh; }
  .dm-b { font-size: clamp(18px, 4.9vw, 23px); line-height: 1.28; }
  .dm-k { margin-bottom: 12px; } .dm-foot { margin-top: 12px; font-size: 12px; }
}
@media (max-width: 899px) and (max-height: 760px) { .dm-live .dm-art { width: min(54vw, 280px); } .dm-b { font-size: 18px; } }
