/* n5.css, home 2 (23 Nov 2026): the one header of every page. Our own: the old home's lightness (floating over the hero,
   no band) with the four sections held in ONE rail; a magma heat line slides under the section you point at and runs out
   along the top of its list as the list drops. Motion is transform and opacity only. Phones: Work and Prices one tap from
   the first screen, and a labelled Menu that opens one designed panel. */
:root { --n5h: 76px; --n5-ink: #f1ede6; --n5-dim: #cfc6ba; --n5-mag: #ff5a1f; --n5-ground: #1c0c07; --n5-ease: cubic-bezier(.16, 1, .3, 1); }
.g-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.g-skip:focus { left: 8px; }
.n5-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.n5 { position: sticky; top: 0; z-index: 60; height: var(--n5h); margin: 0; pointer-events: none; font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; }
.n5 *, .n5 *::before, .n5 *::after { box-sizing: border-box; }
.n5-bar { position: relative; height: 100%; display: flex; align-items: center; gap: 10px; padding: 0 28px; }
.n5-bar > * { pointer-events: auto; }
.n5 a { color: var(--n5-ink); text-decoration: none; }
.n5 a, .n5 button { -webkit-tap-highlight-color: transparent; }   /* review: a teal tap flash on the phone */
.n5 button { font: inherit; color: inherit; cursor: pointer; }
.n5 [hidden] { display: none !important; }
.n5-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px 0 6px; border-radius: 14px; font: 700 18px/1 "Archivo", system-ui, sans-serif; letter-spacing: -.01em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .55); transition: background .3s; }
.n5-brand svg { width: 32px; height: 32px; flex: none; }
.n5-word { transition: opacity .3s, transform .4s var(--n5-ease); }
.n5-q { display: none; }
.n5-menu, .n5-sh { display: none; }
.n5-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
/* the rail */
.n5-list { position: relative; display: flex; align-items: center; gap: 2px; margin: 0; padding: 4px; list-style: none; border-radius: 999px;
  background: rgba(20, 10, 8, .58); border: 1px solid rgba(241, 237, 230, .16); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); transition: background .3s, border-color .3s; }
.n5-it { position: relative; display: flex; align-items: center; border-radius: 999px; }
.n5-top { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font: 500 15px/1 "Archivo", system-ui, sans-serif; transition: background .2s, color .2s; }
.n5-js .n5-top { padding-right: 4px; }
.n5-more { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 40px; margin: 0; padding: 0 8px 0 2px; border: 0; background: none; border-radius: 0 999px 999px 0; color: var(--n5-dim); }
.n5-chev { width: 12px; height: 12px; transition: transform .35s var(--n5-ease); }
.n5-it:hover, .n5-it.open { background: rgba(241, 237, 230, .08); }
.n5-it.open .n5-chev { transform: rotate(180deg); }
.n5-top:focus-visible, .n5-more:focus-visible, .n5 a:focus-visible, .n5 button:focus-visible { outline: 2px solid var(--n5-mag); outline-offset: 2px; }
.n5-heat { position: absolute; left: 0; bottom: 3px; width: 100px; height: 2px; border-radius: 2px; pointer-events: none; opacity: 0; transform-origin: 0 50%;
  background: linear-gradient(90deg, #6e1403, #ff5a1f 55%, #ffc24d); box-shadow: 0 0 10px rgba(255, 90, 31, .6); transition: transform .42s var(--n5-ease), opacity .25s; }
.n5-heat.on { opacity: 1; }
/* the list that drops from a section */
.n5-dd { display: none; position: absolute; top: calc(100% + 12px); left: 50%; z-index: 2; opacity: 0; visibility: hidden; transform: translate3d(-50%, -8px, 0);
  transition: opacity .16s ease, transform .28s var(--n5-ease), visibility 0s linear .28s; }
.n5-it.ready .n5-dd { display: block; }
.n5-it.open .n5-dd { opacity: 1; visibility: visible; transform: translate3d(-50%, 0, 0); transition-delay: 0s; }
.n5-it[data-k="guides"] .n5-dd { left: auto; right: -60px; transform: translate3d(0, -8px, 0); }
.n5-it[data-k="guides"].open .n5-dd { transform: translate3d(0, 0, 0); }
.n5-dd::before { content: ""; position: absolute; left: -20px; right: -20px; top: -16px; height: 18px; }
.n5-dd-in { position: relative; display: flex; flex-wrap: wrap; gap: 6px 26px; padding: 18px 18px 12px; border-radius: 18px;
  background: var(--n5-ground); border: 1px solid rgba(241, 237, 230, .14); box-shadow: 0 28px 70px rgba(0, 0, 0, .55); }
.n5-dd-in::before { content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 2px; border-radius: 2px; transform: scaleX(0); transform-origin: 50% 50%;
  background: linear-gradient(90deg, transparent, #ff5a1f 30%, #ffc24d 50%, #ff5a1f 70%, transparent); transition: transform .34s var(--n5-ease) .04s; }
.n5-it.open .n5-dd-in::before { transform: scaleX(1); }
.n5-g { min-width: 0; }
.n5-gh { margin: 0 0 6px; padding: 0 8px; font: 700 11px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--n5-mag); }
.n5-g ul { margin: 0; padding: 0; list-style: none; }
.n5-g li { opacity: 0; transform: translate3d(0, 6px, 0); transition: opacity .22s ease, transform .3s var(--n5-ease); }
.n5-it.open .n5-g li { opacity: 1; transform: none; }
.n5-g li:nth-child(2) { transition-delay: .03s; } .n5-g li:nth-child(3) { transition-delay: .06s; } .n5-g li:nth-child(4) { transition-delay: .09s; }
.n5-g li:nth-child(5) { transition-delay: .12s; } .n5-g li:nth-child(6) { transition-delay: .15s; } .n5-g li:nth-child(n+7) { transition-delay: .18s; }
.n5-g a { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 5px 8px; border-radius: 10px; font: 400 15px/1.25 "Archivo", system-ui, sans-serif; white-space: nowrap; transition: background .15s, color .15s; }
.n5-g a:hover { background: rgba(241, 237, 230, .08); }
.n5-g a[aria-current="page"] { color: var(--n5-mag); }
.n5-g img { width: 40px; height: 40px; flex: none; border-radius: 8px; object-fit: cover; background: #2a120a; }
.n5-from a { display: grid; grid-template-columns: 1fr auto; gap: 0 14px; }
.n5-from b { font: 700 15px/1.25 "Archivo", system-ui, sans-serif; color: var(--n5-ink); text-align: right; }
.n5-from small { grid-column: 1 / -1; font-size: 12px; color: var(--n5-dim); }
.n5c { display: none; }
html:not([data-cur]) .n5c-INR, html[data-cur="INR"] .n5c-INR, html[data-cur="USD"] .n5c-USD, html[data-cur="EUR"] .n5c-EUR { display: inline; }
.n5-g { flex: none; min-width: 190px; }
.n5-all { flex: 0 0 100%; display: flex; align-items: center; min-height: 40px; margin-top: 6px; padding: 8px 8px 0; border-top: 1px solid rgba(241, 237, 230, .12);
  font: 600 14px/1 "Archivo", system-ui, sans-serif; color: var(--n5-mag) !important; }
/* WhatsApp and Contact */
.n5-acts { display: flex; align-items: center; gap: 8px; }
.n5-wa, .n5-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; font: 600 15px/1 "Archivo", system-ui, sans-serif; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.n5-wa { background: rgba(20, 10, 8, .58); border: 1px solid rgba(241, 237, 230, .32); }
.n5-wa:hover { border-color: var(--n5-ink); background: rgba(241, 237, 230, .1); }
.n5-i { width: 18px; height: 18px; fill: currentColor; flex: none; }
.n5-cta { background: var(--n5-ink); color: #111 !important; border: 1px solid var(--n5-ink); }
.n5-cta:hover { background: var(--n5-mag); border-color: var(--n5-mag); }
/* scrolled: the rail and the brand take a ground, the word folds away; nothing grows */
/* laptop: the rail sits in the centre of the bar (the study's best reference holds its sections in one centre object) */
@media (min-width: 900px) { .n5-list { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); } }
.n5.is-s .n5-list, .n5.is-s .n5-wa { background: rgba(24, 11, 7, .94); border-color: rgba(241, 237, 230, .2); }
.n5.is-s .n5-brand { background: none; }   /* review: a dark slab stood empty once the word folded away */
.n5.is-s .n5-word { opacity: 0; transform: translate3d(-8px, 0, 0); }
@media (max-width: 1100px) and (min-width: 900px) { .n5-bar { padding: 0 16px; } .n5-top { padding: 0 10px; } .n5-wa span:not(.n5-vh) { display: none; } .n5-wa { padding: 0 13px; } }

/* ---------- phones and small tablets ---------- */
@media (max-width: 899px) {
  :root { --n5h: 64px; }
  .n5-bar { gap: 6px; padding: 0 12px; }
  .n5-brand { padding: 0 8px 0 4px; }
  .n5-brand svg { width: 30px; height: 30px; }
  .n5-q { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font: 500 15px/1 "Archivo", system-ui, sans-serif;
    background: rgba(20, 10, 8, .62); border: 1px solid rgba(241, 237, 230, .3); text-shadow: none; }
  .n5-q:first-of-type { margin-left: auto; }
  .n5-q[data-here] { border-color: var(--n5-mag); }
  .n5 .n5-menu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 13px; border: 0; border-radius: 999px; background: var(--n5-ink); color: #111; font: 600 15px/1 "Archivo", system-ui, sans-serif; }
  .n5-burg { display: grid; gap: 4px; width: 16px; } .n5-burg i { display: block; height: 2px; border-radius: 2px; background: currentColor; }
  .n5-heat { display: none; }
  .n5.is-s .n5-q { background: rgba(24, 11, 7, .94); }
  /* without scripts: the sections as plain links under the bar */
  .n5:not(.n5-on) { height: auto; }
  .n5:not(.n5-on) .n5-bar { flex-wrap: wrap; height: auto; padding: 10px 12px; }
  .n5:not(.n5-on) .n5-nav { width: 100%; flex-wrap: wrap; margin: 0; }
  .n5:not(.n5-on) .n5-list { flex-wrap: wrap; }
  .n5:not(.n5-on) .n5-q { display: none; }
  /* with scripts: one designed panel */
  .n5-on .n5-nav { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; overflow-y: auto; overscroll-behavior: contain;
    background: #170a06; visibility: hidden; opacity: 0; transform: translate3d(0, -14px, 0); padding-bottom: env(safe-area-inset-bottom);
    transition: opacity .24s ease, transform .4s var(--n5-ease), visibility 0s linear .4s; }
  .n5-on .n5-nav::before { content: ""; position: fixed; left: -30vmax; top: -20vmax; width: 90vmax; height: 90vmax; border-radius: 50%; pointer-events: none; z-index: -1;
    background: radial-gradient(closest-side, rgba(255, 90, 31, .26), rgba(154, 56, 20, .12) 55%, transparent); animation: n5-drift 14s ease-in-out infinite alternate paused; }
  .n5-open .n5-nav::before { animation-play-state: running; }
  @keyframes n5-drift { to { transform: translate3d(36vmax, 52vmax, 0) scale(1.2); } }
  .n5-open .n5-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .n5-on .n5-sh { display: flex; align-items: center; justify-content: space-between; flex: none; height: 64px; padding: 0 12px 0 20px; }
  .n5-sh-t { font: 700 17px/1 "Archivo", system-ui, sans-serif; color: var(--n5-ink); }
  .n5-close { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--n5-ink); color: #111 !important; font: 600 15px/1 "Archivo", system-ui, sans-serif; }
  .n5-x { position: relative; width: 14px; height: 14px; } .n5-x::before, .n5-x::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(45deg); } .n5-x::after { transform: rotate(-45deg); }
  .n5-on .n5-list { display: block; flex: none; padding: 4px 20px 8px; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .n5-on .n5-it { display: grid; grid-template-columns: 1fr 56px; border-radius: 0; background: none !important; border-bottom: 1px solid rgba(241, 237, 230, .12);
    opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .3s ease, transform .5s var(--n5-ease); }
  .n5-open .n5-it { opacity: 1; transform: none; }
  .n5-open .n5-it:nth-child(3) { transition-delay: .04s; } .n5-open .n5-it:nth-child(4) { transition-delay: .08s; } .n5-open .n5-it:nth-child(5) { transition-delay: .12s; }
  .n5-on .n5-top { min-height: 64px; padding: 0; font: 600 30px/1.1 "Clash Display", "Archivo", system-ui, sans-serif; letter-spacing: -.01em; }
  .n5-on .n5-top[data-here] { color: var(--n5-mag); }
  .n5-on .n5-more { width: 56px; height: 64px; padding: 0; justify-content: flex-end; border-radius: 0; color: var(--n5-ink); }
  .n5-on .n5-chev { width: 20px; height: 20px; }
  .n5-on .n5-dd { position: static; grid-column: 1 / -1; opacity: 1; visibility: visible; transform: none !important; transition: none; }
  .n5-on .n5-it:not(.open) .n5-dd { display: none; }
  .n5-on .n5-dd::before { display: none; }
  .n5-on .n5-dd-in { display: block; padding: 0 0 16px; background: none; border: 0; box-shadow: none; }
  .n5-on .n5-dd-in::before { display: none; }
  .n5-on .n5-g { margin-top: 6px; }
  .n5-on .n5-g a { min-height: 44px; font-size: 17px; white-space: normal; padding: 6px 4px; }
  .n5-on .n5-all { min-height: 44px; margin-top: 4px; padding: 10px 4px 0; font-size: 16px; }
  .n5-on .n5-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding: 20px 20px 28px; }
  .n5-on .n5-wa, .n5-on .n5-cta { min-height: 54px; font-size: 17px; }
  .n5-on .n5-wa { background: var(--n5-mag); border-color: var(--n5-mag); color: #160904 !important; }
  html.n5-lock, html.n5-lock body { overflow: hidden !important; }
}
@media (max-width: 479px) { .n5-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .n5-q { padding: 0 12px; } }
@media (max-width: 359px) { .n5-q + .n5-q { display: none; } }
@media (prefers-reduced-motion: reduce) { .n5 *, .n5 *::before, .n5 *::after { transition: none !important; animation: none !important; } }

/* work 2: no sideways scroll on phones (a piece in motion briefly passed the screen edge) */
html { overflow-x: clip; }

/* work 2: a film piece no wider than its 880 px file holds at the screen's pixel ratio */
.w-piece-in:has(.w-piece-v) .w-piece-v, .w-piece-in:has(.w-piece-v) .w-piece-p { max-width: 586px; max-height: 586px; margin: auto; }
@media (max-width: 760px) { .w-piece-in:has(.w-piece-v) .w-piece-v, .w-piece-in:has(.w-piece-v) .w-piece-p { max-width: 335px; max-height: 335px; } }
