/* Rangsthal · site styles
   Base reset for a standalone page (the preview host supplied this before). */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
/* the curtain covers the page while it loads, then lifts (see js/site.js) */
.js-cover .curtain { transform: translateY(0); }

/* Layout: a modern artist's site on gallery black and white (Nevo mechanics:
   pinned scenes, rolling buttons, difference cursor, curtain transitions).
   No artwork images. The landing hero is an abstract radial composition painted
   live in brushstrokes; the rest of the site is led by typography and motion. */
:root {
  --black: #0E0E0E; --body: #161616; --raise: #1F1F1F; --line: #2A2A2A;
  --white: #FFFFFF; --paper: #F4F2EE; --paper-2: #E8E5DF; --paper-line: #DAD6CF;
  --par: #AAAAAA; --dim: #888888; --ink: #0E0E0E; --ink-soft: #5C5C5C;
  --rani: #D62E6C; --marigold: #F6A821; --peacock: #14A3A0; --royal: #5B4FE0; --plum: #9B3AA8;
  --spectrum: linear-gradient(100deg, #D62E6C, #F6A821 30%, #3FC1BF 55%, #8F86FF 78%, #E2A6F0);
  --serif: "Lustria", "Iowan Old Style", Georgia, serif;
  --sans: "Mulish", "Segoe UI", system-ui, sans-serif;
  --deva: "Rozha One", "Noto Serif Devanagari", serif;
  --hand: "Caveat", "Segoe Script", cursive;
  --gutter: clamp(16px, 4vw, 60px);
  --max: 1320px;
  --ease: cubic-bezier(.7, 0, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { background: var(--black); }
body { color: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.65; overflow-x: hidden; -webkit-user-select: none; user-select: none; }
input, textarea, [contenteditable] { -webkit-user-select: text; user-select: text; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1.5px solid var(--white); outline-offset: 4px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sub { font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--par); font-weight: 700; }
.section { padding-block: clamp(80px, 11vw, 160px); }
.muted { color: var(--par); }
.paper { background: var(--paper); color: var(--ink); }
.paper .sub { color: var(--ink-soft); }
.paper .muted { color: var(--ink-soft); }
.grad { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* gloss: an English reading under every Hindi word */
.gloss { display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: .82rem; color: var(--dim); }
.gloss b { font-family: var(--deva); font-weight: 400; font-size: 1.15rem; }
.gloss i { font-style: italic; font-family: var(--serif); color: var(--par); }
.paper .gloss { color: var(--ink-soft); }
.paper .gloss i { color: var(--ink); }

/* scribble */
.scrib { position: relative; display: inline-block; white-space: nowrap; }
.scrib svg { position: absolute; left: -4%; width: 108%; bottom: -.18em; height: .4em; overflow: visible; }
.scrib path { fill: none; stroke: url(#scribGrad); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.is-pre .scrib path { stroke-dashoffset: 420; }

/* cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid #fff; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .3s; }
.cursor.is-link .cursor__ring { width: 66px; height: 66px; margin: -33px 0 0 -33px; background: #fff; }
@media (hover: none) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; } }

/* rolling text, buttons, links */
.roll { display: inline-grid; overflow: hidden; height: 1.3em; line-height: 1.3em; vertical-align: middle; }
.roll > span { grid-area: 1 / 1; transition: transform .5s var(--ease); }
.roll > span + span { transform: translateY(110%); }
a:hover .roll > span:first-child, button:hover .roll > span:first-child { transform: translateY(-110%); }
a:hover .roll > span + span, button:hover .roll > span + span { transform: translateY(0); }
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 16px 28px; border-radius: 999px; background: var(--white); color: var(--black); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--white); cursor: pointer; transition: background .4s, color .4s; }
.btn:hover { background: transparent; color: var(--white); }
.btn--line { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--line:hover { background: var(--white); color: var(--black); }
.paper .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.paper .btn:hover { background: transparent; color: var(--ink); }
.ulink { display: inline-flex; flex-direction: column; gap: 6px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }
.ulink__row { display: inline-flex; align-items: center; gap: 10px; }
.ulink__line { height: 1px; background: rgba(255,255,255,.28); position: relative; overflow: hidden; }
.paper .ulink__line { background: rgba(14,14,14,.22); }
.ulink__line::after { content: ""; position: absolute; inset: 0; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.ulink:hover .ulink__line::after, .theme:hover .ulink__line::after { transform: scaleX(1); transform-origin: left; }
.ar { width: 12px; height: 12px; flex: none; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; padding-top: env(safe-area-inset-top, 0px); transition: background .5s, transform .5s var(--ease); }
.nav.is-solid { background: rgba(14,14,14,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-open { backdrop-filter: none; background: transparent; border-bottom-color: transparent; }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.45rem; }
.logo__mark { width: 32px; height: 32px; display: inline-flex; flex: none; }
.logo__mark svg, .foot__mark svg, .curtain__mark svg { width: 100%; height: 100%; display: block; }
.mark__ring { transition: transform 1s var(--ease); }
.logo:hover .mark__ring { transform: rotate(144deg); }
.mark__seg { animation: segIn .9s var(--ease) both; animation-delay: calc(var(--i) * 90ms + .2s); }
.mark__stem, .mark__leg { animation: fadeIn .8s var(--ease) both; }
@keyframes segIn { from { opacity: 0; stroke-dasharray: 0 60; } }
@keyframes fadeIn { from { opacity: 0; } }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav__links a { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--par); transition: color .3s; display: inline-flex; align-items: center; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--white); }
.nav__links a[aria-current="page"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--white); margin-right: 8px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--white); transition: transform .4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.nav.is-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 960px) {
  .burger { display: block; }
  .nav__cta { display: none; }
  .nav__links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px; background: var(--black); gap: 10px; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); }
  .nav.is-open .nav__links { clip-path: inset(0 0 0 0); }
  .nav__links a { font-family: var(--serif); font-size: clamp(2.2rem, 10vw, 3.4rem); text-transform: none; letter-spacing: -.01em; font-weight: 400; color: var(--white); }
  .nav__links a[aria-current="page"]::before { width: 10px; height: 10px; margin-right: 16px; }
}

/* curtain */
.curtain { position: fixed; inset: 0; z-index: 150; background: var(--paper); display: grid; place-items: center; transform: translateY(100%); pointer-events: none; }
.curtain__lock { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); color: var(--ink); }
.curtain__mark { width: clamp(56px, 8vw, 96px); height: clamp(56px, 8vw, 96px); }
.curtain__word { font-family: var(--serif); font-size: clamp(2.6rem, 8vw, 6rem); letter-spacing: -.03em; }
.curtain.is-in { transition: transform .6s var(--ease); transform: translateY(0); }
.curtain.is-out { transition: transform .6s var(--ease); transform: translateY(-100%); }

.rv { transition: transform 1s var(--ease), opacity 1s var(--ease); }
.rv.is-pre { transform: translateY(40px); opacity: .15; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================= HERO: an abstract radial composition, painted live ================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding-block: calc(120px + env(safe-area-inset-top, 0px)) 64px; overflow: hidden; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__copy { display: grid; gap: 28px; min-width: 0; }
.hero h1 { font-size: clamp(2.8rem, 5.6vw, 5.8rem); line-height: 1; letter-spacing: -0.03em; }
@media (min-width: 901px) { .hero h1 .line > span { white-space: nowrap; } }
.hero h1 em { font-style: italic; }
.hero h1 em.grad { font-size: 1.3em; }
@media (max-width: 900px) { .hero h1 em.grad { font-size: 1.14em; } }

/* ---------- hero atmosphere: a length of dyed silk, caught in motion ---------- */
.hero-atmos { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-atmos canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-atmos::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--black) 0%, var(--black) 32%, rgba(14,14,14,.55) 48%, transparent 64%);
}
@media (max-width: 900px) {
  .hero-atmos canvas { opacity: .5; }
  .hero-atmos::after { background: linear-gradient(180deg, transparent 0%, transparent 34%, rgba(14,14,14,.65) 52%, var(--black) 70%); }
}
/* room for descenders and the italic overhang so no letter is clipped */
.line { display: block; overflow: hidden; padding: 0 .14em .18em 0; margin-bottom: -.14em; }
.line > span { display: block; animation: rise 1.3s var(--ease) both; }
.line:nth-child(2) > span { animation-delay: .14s; }
@keyframes rise { from { transform: translateY(110%); } }
.hero__lead { color: var(--par); max-width: 48ch; font-size: 1.08rem; animation: fadeUp 1.2s var(--ease) .35s both; }
.hero__copy .btns, .hero__foot { animation: fadeUp 1.2s var(--ease) .5s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
.hero__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.hero__art { display: grid; gap: 22px; justify-items: center; min-width: 0; }
.hero__stage { position: relative; width: min(100%, 600px); aspect-ratio: 1; max-width: 100%; will-change: transform; }
.hero__stage canvas { width: 100%; height: 100%; display: block; }
.hero__cap { display: inline-flex; gap: 10px; align-items: baseline; font-size: .8rem; color: var(--dim); flex-wrap: wrap; }
.hero__cap b { font-family: var(--deva); font-weight: 400; font-size: 1.2rem; }
.hero__cap i { font-family: var(--serif); color: var(--par); }
.cue { display: inline-flex; align-items: center; gap: 14px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.cue__icon { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; overflow: hidden; position: relative; }
.cue__icon svg { position: absolute; width: 14px; height: 14px; animation: drop 2.2s var(--ease) infinite; }
@keyframes drop { 0% { transform: translateY(-26px); } 40%, 60% { transform: translateY(0); } 100% { transform: translateY(26px); } }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: calc(100px + env(safe-area-inset-top, 0px)); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .hero__stage { width: min(84vw, 440px); }
}

/* word-by-word rise for section headings */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.sw > span { display: inline-block; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.rv--split.is-pre { transform: none; opacity: 1; }
.rv--split.is-pre .sw > span { transform: translateY(115%); }

/* statement: large text that fills word by word */
.statement { padding-block: clamp(110px, 14vw, 200px); }
.statement__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.statement__text { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1.16; letter-spacing: -.02em; }
.statement__text .w { color: rgba(255,255,255,var(--o, 1)); transition: color .25s linear; }
.statement__meta { display: grid; gap: 14px; position: sticky; top: 120px; }
.statement__meta .bar { width: 64px; height: 3px; border-radius: 3px; background: var(--spectrum); }
@media (max-width: 820px) { .statement__grid { grid-template-columns: 1fr; } .statement__meta { position: relative; top: auto; } }

/* bodies of work: a typographic index */
.works-list { border-top: 1px solid var(--line); }
.work-row { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.1fr) 64px; gap: 24px; align-items: center; padding: 34px 12px; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.work-row::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 22%, transparent), transparent 75%); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); z-index: -1; }
.work-row:hover::before, .work-row:focus-visible::before { transform: scaleX(1); }
.work-row__n { font-size: .78rem; letter-spacing: .18em; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 10px; }
.work-row__n i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); transform: scale(0); transition: transform .5s var(--ease); }
.work-row:hover .work-row__n i { transform: scale(1); }
.work-row__t { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1; transition: transform .7s var(--ease); }
.work-row:hover .work-row__t { transform: translateX(16px); font-style: italic; }
.work-row__d { color: var(--par); max-width: 44ch; }
.work-row__go { width: 58px; height: 58px; border-radius: 50%; border: 1px solid #3a3a3a; display: grid; place-items: center; justify-self: end; transition: background .4s, color .4s, border-color .4s, transform .6s var(--ease); }
.work-row:hover .work-row__go { background: var(--white); color: var(--black); border-color: var(--white); transform: rotate(-45deg); }
@media (max-width: 760px) { .work-row { grid-template-columns: 1fr 52px; gap: 8px 16px; } .work-row__n { grid-column: 1 / -1; } .work-row__go { grid-row: 2 / 4; grid-column: 2; width: 48px; height: 48px; } }

.hero__replay { background: none; border: 0; color: var(--dim); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; cursor: pointer; padding: 6px 0; border-bottom: 1px solid #333; transition: color .3s, border-color .3s; }
.hero__replay:hover { color: var(--white); border-color: var(--white); }

/* inner-page brushwork */
.phero > .wrap { position: relative; z-index: 1; }
.phero__brush { position: absolute; right: 0; top: 0; width: min(66vw, 980px); height: 100%; pointer-events: none; -webkit-mask-image: linear-gradient(to left, #000 55%, transparent); mask-image: linear-gradient(to left, #000 55%, transparent); }
@media (max-width: 820px) { .phero__brush { width: 100%; opacity: .35; } }
.step__mark { display: block; width: 140px; height: 46px; margin-bottom: 14px; }
.badge-wrap { position: relative; }
.badge__brush { position: absolute; left: -16%; top: -12%; width: 132%; height: 118%; pointer-events: none; z-index: 0; }
.badge-wrap .badge, .badge-wrap .gloss { position: relative; z-index: 1; }

/* email card (no server needed) */
.mailcard { border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 38px); background: var(--body); display: grid; gap: 20px; }
.mailcard h3 { font-size: 1.7rem; }
.mailcard__label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-weight: 700; margin-bottom: -8px; }
.mailcard__email { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; align-items: baseline; border-block: 1px solid var(--line); padding-block: 18px; }
.mailcard__k { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.mailcard__addr { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); overflow-wrap: anywhere; background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; justify-self: start; }
.mailcard__subj { color: var(--par); overflow-wrap: anywhere; }

/* the collection, shown publicly: veiled frames, never the work itself */
.veil { display: grid; grid-template-columns: 1.15fr .8fr 1fr .85fr; gap: clamp(14px, 2vw, 28px); align-items: end; margin-top: 8px; }
.frame { position: relative; display: block; padding: clamp(10px, 1.2vw, 16px); background: #1b1b1b; border: 1px solid #2c2c2c; border-radius: 4px; box-shadow: 0 30px 60px rgba(0,0,0,.45); transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.frame:nth-child(1) { aspect-ratio: 4 / 5; } .frame:nth-child(2) { aspect-ratio: 1; margin-bottom: 18%; } .frame:nth-child(3) { aspect-ratio: 3 / 4; } .frame:nth-child(4) { aspect-ratio: 5 / 6; margin-bottom: 10%; }
.frame__inner { display: block; position: relative; width: 100%; height: 100%; overflow: hidden; background: #121212; }
.frame__inner canvas { position: absolute; inset: -12%; width: 124%; height: 124%; filter: blur(16px) saturate(1.15); transition: filter .9s var(--ease), transform 1.2s var(--ease); }
.frame__inner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.14) 45%, transparent 60%); transform: translateX(-120%); transition: transform 1.2s var(--ease); }
.frame:hover { transform: translateY(-10px); box-shadow: 0 44px 80px rgba(0,0,0,.55); }
.frame:hover .frame__inner canvas { filter: blur(12px) saturate(1.3); transform: scale(1.06); }
.frame:hover .frame__inner::after { transform: translateX(120%); }
.frame__tag { position: absolute; left: clamp(10px, 1.2vw, 16px); right: clamp(10px, 1.2vw, 16px); bottom: clamp(10px, 1.2vw, 16px); padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: linear-gradient(0deg, rgba(10,10,10,.75), transparent); }
.frame__tag b { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; }
.frame__tag span { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--par); transition: color .4s; }
.frame:hover .frame__tag span { color: var(--white); }
.viewing__foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); padding-top: 26px; }
@media (max-width: 820px) { .veil { grid-template-columns: 1fr 1fr; } .frame:nth-child(n) { margin-bottom: 0; } }

/* what her work explores: an open, flowing index rather than fixed categories */
.explore { font-family: var(--serif); font-size: clamp(2rem, 4.8vw, 4.4rem); line-height: 1.22; letter-spacing: -.02em; }
.explore__item { color: #3b3b3b; transition: color .5s var(--ease); cursor: default; }
.explore__item.is-lit { color: var(--white); }
.explore__item:hover { color: var(--c); }
.explore__sep { display: inline-block; width: .22em; height: .22em; border-radius: 50%; background: var(--c); margin: 0 .38em; vertical-align: .22em; opacity: .9; }
.explore__end { font-style: italic; }
.paper .explore__item { color: #c9c4ba; } .paper .explore__item.is-lit { color: var(--ink); }

/* notice pill (e.g. custom paintings for public events) */
.notice { display: inline-flex; align-items: center; gap: 12px; margin: -24px 0 40px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; color: var(--par); }
.notice span { width: 8px; height: 8px; border-radius: 50%; background: var(--marigold); flex: none; }
.phero .notice { margin: 22px 0 0; }

/* nav dropdown (Dialogues › Nritya Rang) */
.has-sub { position: relative; }
.has-sub > a::after { content: ""; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.sub { position: absolute; top: 100%; left: -16px; min-width: 280px; margin: 14px 0 0; padding: 8px; list-style: none; background: #161616; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.5); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; transform: none; pointer-events: auto; }
.nav__links .sub a { display: grid; gap: 3px; padding: 12px 14px; border-radius: 10px; text-transform: none; letter-spacing: 0; }
.nav__links .sub a:hover, .nav__links .sub a[aria-current="page"] { background: #1F1F1F; }
.nav__links .sub a::before { display: none; }
.sub b { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; color: var(--white); }
.sub span { font-size: .76rem; color: var(--dim); font-weight: 600; letter-spacing: .04em; }
@media (max-width: 960px) {
  .has-sub > a::after { display: none; }
  .sub { position: static; opacity: 1; transform: none; pointer-events: auto; background: none; border: 0; box-shadow: none; margin: 0; padding: 0 0 0 18px; min-width: 0; }
  .nav__links .sub a { padding: 4px 0; }
  .nav__links .sub a:hover { background: none; }
  .sub b { font-size: 1.5rem; color: var(--par); }
}

/* Nritya Rang: tala, hasta, rasa */
:root { --zari: #C9A24A; }
.nr-hero { position: relative; padding-top: clamp(130px, 15vw, 190px); padding-bottom: clamp(56px, 7vw, 96px); overflow: hidden; }
.nr-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.nr-hero__copy { display: grid; gap: 24px; min-width: 0; }
.nr-hero h1 { font-size: clamp(3.4rem, 8.6vw, 8rem); line-height: .95; letter-spacing: -.035em; }
.nr-hero h1 em { font-style: italic; color: var(--zari); }
.nr-hero__lead { color: var(--par); font-size: 1.08rem; max-width: 46ch; }
.nr-traces { position: relative; width: 100%; max-width: 520px; aspect-ratio: 4 / 5; justify-self: end; border: 1px solid #262626; background: radial-gradient(ellipse at 50% 45%, #171511, #0B0B0B 72%); }
.nr-traces canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.nr-traces figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: #6f6f6f; }
@media (max-width: 900px) { .nr-hero__grid { grid-template-columns: 1fr; } .nr-traces { justify-self: center; max-width: 420px; } }

/* the woven gold border of a silk sari, used as a divider */
.zari { height: 22px; background:
  linear-gradient(var(--zari), var(--zari)) top / 100% 1px no-repeat,
  linear-gradient(var(--zari), var(--zari)) bottom / 100% 1px no-repeat,
  repeating-linear-gradient(45deg, transparent 0 7px, rgba(201,162,74,.5) 7px 8px),
  repeating-linear-gradient(-45deg, transparent 0 7px, rgba(201,162,74,.5) 7px 8px);
  opacity: .85; }

/* chapter headings: I · II · III */
.chap { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 360px); gap: clamp(20px, 4vw, 56px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.chap__num { font-family: var(--serif); font-size: clamp(3rem, 6vw, 5rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--zari); }
.chap h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.chap h2 i { font-style: italic; color: var(--par); }
.chap p { color: var(--par); }
.paper .chap h2 i, .paper .chap p { color: var(--ink-soft); }
@media (max-width: 860px) { .chap { grid-template-columns: 1fr; } }

/* I. Rhythm becomes line: Adi tala, 4 + 2 + 2 */
.tala { position: relative; padding-top: 34px; }
.tala__line { position: relative; height: 1px; background: #3a3a3a; }
.tala__pulse { position: absolute; top: -5px; left: 0; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: var(--zari); box-shadow: 0 0 18px var(--zari); animation: pulse 4s linear infinite; }
@keyframes pulse { from { left: 0%; } to { left: 100%; } }
.tala__beats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); margin-top: -1px; }
.tala__beat { position: relative; padding-top: 22px; display: grid; gap: 8px; border-left: 1px solid #3a3a3a; padding-left: 14px; }
.tala__beat::before { content: ""; position: absolute; left: -4px; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: #0E0E0E; border: 1px solid #6a6a6a; }
.tala__beat.is-anga { border-left-color: var(--zari); }
.tala__beat.is-anga::before { border-color: var(--zari); background: var(--zari); }
.tala__syl { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 2.2rem); color: #474747; animation: syl 4s steps(1, end) infinite; animation-delay: calc(var(--b) * .5s); }
@keyframes syl { 0% { color: var(--white); } 12.5%, 100% { color: #474747; } }
.tala__n { font-size: .7rem; letter-spacing: .18em; color: #6a6a6a; font-weight: 700; font-variant-numeric: tabular-nums; }
.tala__angas { display: grid; grid-template-columns: 4fr 2fr 2fr; margin-top: 26px; border-top: 1px solid #262626; }
.tala__angas div { padding: 16px 14px 0; border-left: 1px solid #262626; display: grid; gap: 4px; }
.tala__angas div:first-child { border-left: 0; padding-left: 0; }
.tala__angas b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.tala__angas span { font-size: .82rem; color: var(--dim); }
@media (max-width: 640px) { .tala__beat { padding-left: 6px; } .tala__n { display: none; } }

/* II. Gesture becomes form: the hastas */
.hastas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 72px); border-top: 1px solid var(--paper-line); }
.hasta { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--paper-line); position: relative; }
.hasta::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--zari); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.hasta:hover::after { transform: scaleX(1); }
.hasta__n { font-size: .74rem; letter-spacing: .16em; font-weight: 700; color: #8a8a8a; font-variant-numeric: tabular-nums; }
.hasta__name { display: grid; gap: 2px; }
.hasta__name b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.1rem); transition: transform .6s var(--ease); }
.hasta:hover .hasta__name b { transform: translateX(8px); font-style: italic; }
.hasta__name span { font-family: var(--deva); font-size: 1rem; color: #8a7a4e; }
.hasta__mean { color: var(--ink-soft); font-style: italic; font-family: var(--serif); text-align: right; }
@media (max-width: 760px) { .hastas { grid-template-columns: 1fr; } }

/* III. Emotion becomes color: the rasas and their colors (Natya Shastra) */
.rasas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #262626; border: 1px solid #262626; }
.rasa { background: var(--black); padding: 22px 22px 26px; display: grid; gap: 14px; align-content: start; transition: background .5s; }
.rasa:hover { background: #141414; }
.rasa__swatch { height: 120px; background: var(--rc); border: 1px solid rgba(255,255,255,.08); transform-origin: bottom; transition: transform 1s var(--ease); }
.rasa.is-pre .rasa__swatch { transform: scaleY(0); }
.rasa__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rasa__head b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.rasa__head span { font-family: var(--deva); font-size: 1.05rem; color: #9a8a5e; }
.rasa__mean { color: var(--par); font-size: .95rem; }
.rasa__color { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--dim); }
@media (max-width: 960px) { .rasas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== Nevo mechanics on Nritya Rang ===== */
.nx-top { padding-top: clamp(120px, 14vw, 170px); }
.nx-loop { padding-block: clamp(10px, 2vw, 24px); overflow: hidden; }
.nx-loop .bigloop__track span:nth-child(3n) { font-style: normal; font-family: var(--deva); background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--zari); }
.nx-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid #262626; margin-top: clamp(18px, 3vw, 36px); }
.nx-meta div { padding: 18px 18px 18px 0; display: grid; gap: 6px; }
.nx-meta div + div { padding-left: 18px; border-left: 1px solid #262626; }
.nx-meta dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--dim); }
.nx-meta dd { margin: 0; font-family: var(--serif); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.nx-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 72px); align-items: end; padding-block: clamp(28px, 4vw, 48px); }
.nx-intro .lead { color: var(--par); font-size: 1.1rem; max-width: 54ch; margin-top: 14px; }
.nx-banner { position: relative; aspect-ratio: 16 / 7; border: 1px solid #262626; background: radial-gradient(ellipse at 50% 50%, #17140F, #0B0B0B 70%); overflow: hidden; }
.nx-banner canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.nx-banner figcaption { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; justify-content: space-between; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: #6f6f6f; }
@media (max-width: 820px) { .nx-meta { grid-template-columns: 1fr 1fr; } .nx-meta div:nth-child(3) { padding-left: 0; border-left: 0; } .nx-meta div:nth-child(n+3) { border-top: 1px solid #262626; } .nx-intro { grid-template-columns: 1fr; } .nx-banner { aspect-ratio: 4 / 3; } }

/* portfolio grid with a sticky rotating circle (Nevo "Hire us") */
.nx-works { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.nx-works__side { position: sticky; top: 120px; display: grid; gap: 22px; justify-items: start; }
.nx-works__side h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.spin-link { position: relative; width: 170px; height: 170px; display: grid; place-items: center; }
.spin-link svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.spin-link text { font: 700 11.5px var(--sans); letter-spacing: 4.2px; text-transform: uppercase; fill: var(--zari); }
.spin-link span { width: 70px; height: 70px; border-radius: 50%; border: 1px solid var(--zari); display: grid; place-items: center; color: var(--zari); transition: background .4s, color .4s, transform .6s var(--ease); }
.spin-link:hover span { background: var(--zari); color: var(--black); transform: rotate(-45deg); }
.nx-project { display: grid; gap: 22px; padding-bottom: clamp(48px, 7vw, 96px); }
.nx-project + .nx-project { border-top: 1px solid #262626; padding-top: clamp(48px, 7vw, 96px); }
.nx-project__media { position: relative; display: block; }
.nx-project .nx-project__media .frame { aspect-ratio: 16 / 10; margin: 0; border-color: rgba(201,162,74,.4); }
.nx-project__year { position: absolute; right: -8px; top: -0.55em; z-index: 2; font-family: var(--serif); font-size: clamp(4rem, 10vw, 8.6rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--zari); pointer-events: none; }
.nx-project__cat { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--zari); }
.nx-project__cat span + span { color: var(--dim); }
.nx-project h3 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.nx-project h3 em { font-style: italic; color: var(--par); }
.nx-project__grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.nx-project__text { font-family: var(--serif); font-size: clamp(1.25rem, 2.1vw, 1.75rem); line-height: 1.42; max-width: none; }
.nx-project__text .w { color: rgba(255,255,255,var(--o, 1)); transition: color .25s linear; }
.nx-moments { list-style: none; margin: 0; padding: 0; border-top: 1px solid #2c2c2c; }
.nx-moments li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid #222; font-size: .9rem; color: var(--par); }
.nx-moments b { font-size: .7rem; letter-spacing: .16em; font-weight: 700; color: var(--zari); font-variant-numeric: tabular-nums; padding-top: 3px; }
.nx-moments i { font-style: normal; display: block; color: var(--white); font-family: var(--serif); font-size: 1.05rem; }
@media (max-width: 960px) { .nx-works { grid-template-columns: 1fr; } .nx-works__side { position: relative; top: auto; } .nx-project__grid { grid-template-columns: 1fr; } }

/* prev / next pagination (Nevo project pagination) */
.nx-pager { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid #262626; }
.nx-pager a { display: grid; gap: 8px; padding: clamp(26px, 4vw, 48px) 0; transition: background .5s; }
.nx-pager a + a { text-align: right; justify-items: end; border-left: 1px solid #262626; padding-left: 24px; }
.nx-pager span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--dim); }
.nx-pager b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 2.8rem); transition: transform .6s var(--ease), color .4s; }
.nx-pager a:first-child:hover b { transform: translateX(-12px); color: var(--zari); }
.nx-pager a + a:hover b { transform: translateX(12px); color: var(--zari); }

/* pointillist banner and artwork canvases */
.nx-banner--dots { aspect-ratio: 16 / 8.4; }
.nx-banner__text { position: absolute; left: clamp(20px, 4vw, 56px); top: 50%; transform: translateY(-55%); max-width: 44%; display: grid; gap: 16px; z-index: 1; }
.nx-banner__text .sub { color: var(--zari); }
.nx-banner__text b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.02em; }
.nx-banner__text b em { font-style: italic; color: var(--zari); }
.nx-banner__text p { color: var(--par); max-width: 36ch; }
.frame__inner canvas.art-cv { inset: 0; width: 100%; height: 100%; filter: none; }
.frame:hover .frame__inner canvas.art-cv { filter: none; transform: scale(1.02); }
.frame:has(canvas.art-cv) .frame__inner::after { display: none; }
@media (max-width: 820px) {
  .nx-banner--dots { aspect-ratio: 3 / 4; }
  .nx-banner__text { top: 22px; transform: none; max-width: none; right: 20px; }
}

/* replay buttons */
.replay-btn { justify-self: start; display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid rgba(201,162,74,.5); color: var(--zari); border-radius: 999px; padding: 9px 16px; font: 700 .72rem var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s; }
.replay-btn:hover { background: var(--zari); color: var(--black); }
.replay-btn svg { width: 14px; height: 14px; }

/* Rhythm becomes a circle */
.tc { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.tc__side { display: grid; gap: 24px; min-width: 0; }
.tc .nx-canvas { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1; justify-self: center; border: 1px solid #262626; background: radial-gradient(ellipse at 50% 50%, #17140F, #0B0B0B 72%); }
.tc .nx-canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tc-beats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border-top: 1px solid #2c2c2c; }
.tc-beat { display: grid; gap: 6px; padding: 14px 0 0 10px; border-left: 1px solid #2c2c2c; }
.tc-beat.is-anga { border-left-color: var(--zari); }
.tc-beat b { font-family: var(--serif); font-weight: 400; font-size: clamp(1rem, 1.8vw, 1.5rem); color: #4a4a4a; transition: color .15s; }
.tc-beat span { font-size: .66rem; letter-spacing: .14em; color: #666; font-weight: 700; }
.tc-beat.is-on b { color: var(--white); }
.tc-angas { display: grid; grid-template-columns: 4fr 2fr 2fr; font-size: .8rem; color: var(--dim); }
.tc-angas span { padding-left: 10px; border-left: 1px solid #2c2c2c; }
.tc-angas span:first-child { padding-left: 0; border-left: 0; }
.tc-angas b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.1rem; color: var(--white); }
.tc-status { color: var(--par); min-height: 1.6em; }
@media (max-width: 900px) { .tc { grid-template-columns: 1fr; } .tc .nx-canvas { order: -1; max-width: 460px; } }

/* labels inside the Kalotsav artworks */
.art-label { position: absolute; left: clamp(14px, 2vw, 26px); top: clamp(14px, 2vw, 24px); z-index: 2; display: grid; gap: 4px; max-width: 42%; pointer-events: none; }
.art-label b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.2rem, 2.4vw, 2rem); line-height: 1.05; transition: opacity .4s; }
.art-label i { font-family: var(--serif); font-style: italic; color: var(--par); font-size: clamp(.82rem, 1.2vw, .98rem); }
.art-label em { font-style: normal; font-size: .66rem; letter-spacing: .2em; font-weight: 700; color: var(--zari); margin-top: 6px; font-variant-numeric: tabular-nums; }

/* Talam and layam: Teen taal on the tabla */
.tb { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.tb__side { display: grid; gap: 24px; min-width: 0; }
.tb-bols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; border-top: 1px solid #2c2c2c; }
.tb-vibhag { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 12px 0 14px 12px; border-left: 1px solid #2c2c2c; position: relative; }
.tb-vibhag:nth-child(odd) { padding-left: 0; border-left: 0; }
.tb-vibhag > i { position: absolute; top: -10px; left: 10px; font-style: normal; font-size: .7rem; font-weight: 700; color: var(--zari); background: var(--black); padding: 0 4px; }
.tb-vibhag:nth-child(odd) > i { left: 0; }
.tb-bol { font-family: var(--serif); font-size: clamp(1.05rem, 1.7vw, 1.4rem); color: #4a4a4a; transition: color .15s; }
.tb-bol.is-on { color: var(--white); }
.tb-seg { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid #2c2c2c; border-radius: 999px; justify-self: start; flex-wrap: wrap; }
.tb-seg button { border: 0; background: transparent; color: var(--par); padding: 8px 14px; border-radius: 999px; font: 700 .74rem var(--sans); letter-spacing: .06em; cursor: pointer; }
.tb-seg button[aria-pressed="true"] { background: var(--zari); color: var(--black); }
.tb-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .8rem; color: var(--dim); }
.tb-legend b { color: var(--zari); font-weight: 700; margin-right: 4px; }
.tb .nx-canvas { position: relative; width: 100%; max-width: 620px; aspect-ratio: 5 / 4; justify-self: center; border: 1px solid #262626; background: radial-gradient(ellipse at 50% 50%, #17140F, #0B0B0B 72%); }
.tb .nx-canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tb .nx-canvas figcaption { position: absolute; left: 16px; right: 16px; bottom: 12px; display: flex; justify-content: space-between; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: #6f6f6f; pointer-events: none; }
@media (max-width: 900px) { .tb { grid-template-columns: 1fr; } .tb .nx-canvas { order: -1; } }

/* the dialogue: dance ↔ color */
.duet { display: grid; grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr); gap: 0; align-items: stretch; }
.duet__side { display: grid; gap: 18px; align-content: start; padding-block: 8px; }
.duet__side h3 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.duet__side p { color: var(--ink-soft); }
.duet__role { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); }
.duet__axis { position: relative; display: grid; place-items: center; }
.duet__axis::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--zari); opacity: .7; }
.duet__knot { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--zari); box-shadow: 0 0 0 8px var(--paper), 0 0 0 9px var(--zari); }
.duet__right { text-align: right; justify-items: end; }
@media (max-width: 860px) { .duet { grid-template-columns: 1fr; gap: 28px; } .duet__axis { height: 40px; } .duet__axis::before { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 1px; } .duet__right { text-align: left; justify-items: start; } }

.credit { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 26px; margin-top: clamp(40px, 5vw, 64px); color: var(--par); }
.credit dl { display: flex; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; margin: 0; }
.credit dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.credit dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.15rem; color: var(--white); }

/* loop band */
.loop { border-block: 1px solid var(--line); overflow: hidden; padding-block: 24px; }
.loop__track { display: flex; width: max-content; will-change: transform; }
.loop__group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.loop__group span { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--dim); white-space: nowrap; }
.loop__group span:nth-child(4n+1) { color: var(--white); font-style: italic; }
.loop__group b { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }

/* artist intro */
.intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.badge-wrap { display: grid; gap: 18px; justify-items: center; }
.badge { container-type: inline-size; position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(circle at 32% 26%, #9B3AA8, #7A2E8D 40%, #3D1747 100%); box-shadow: inset 0 0 0 5px var(--rani), 0 30px 80px rgba(0,0,0,.3); }
.badge::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 9% 9%; }
.badge__word { position: relative; z-index: 1; display: inline-block; font-family: var(--deva); font-size: 31cqi; line-height: 1.45; padding: 0 .08em; background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge__flourish { position: absolute; z-index: 1; width: 22%; right: 13%; bottom: 21%; color: #8F86FF; }
.intro__copy { display: grid; gap: 24px; min-width: 0; }
.intro h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.intro p.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 56ch; }
.quote-line { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.35; border-left: 2px solid var(--ink); padding-left: 22px; max-width: 30ch; }
.sig { font-family: var(--hand); font-size: 2.4rem; line-height: 1; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } .badge { max-width: 360px; } }

/* stacked custom-painting cards */
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.head-row h2 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); max-width: 14ch; }
.stack__card { position: sticky; top: calc(96px + var(--i) * 22px); min-height: 66vh; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 6vw, 96px); align-items: center; padding: clamp(28px, 5vw, 64px); background: var(--body); border: 1px solid var(--line); border-radius: 28px; margin-bottom: 7vh; overflow: hidden; }
.stack__card:nth-child(2) { background: #1A1A1A; } .stack__card:nth-child(3) { background: #1E1E1E; }
.stack__card::after { content: ""; position: absolute; right: -90px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: var(--c); opacity: .16; filter: blur(30px); }
.stack__head { display: grid; gap: 16px; align-content: start; }
.stack__num { font-family: var(--serif); font-size: clamp(4rem, 10vw, 9rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.4); }
.stack__head h3 { font-size: clamp(2rem, 4vw, 3.4rem); }
.fill-text { font-family: var(--serif); font-size: clamp(1.35rem, 2.5vw, 2.1rem); line-height: 1.34; }
.fill-text .w { color: rgba(255,255,255,var(--o, 1)); transition: color .25s linear; }
@media (max-width: 860px) { .stack__card { grid-template-columns: 1fr; min-height: 0; position: relative; top: auto; } }

/* themes: each a living round canvas */
.themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 32px); }
.theme { position: relative; display: grid; gap: 26px; align-content: start; padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, #151515, #111); overflow: hidden; isolation: isolate; transition: border-color .5s, transform .7s var(--ease); }
.theme::before { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 90%; background: radial-gradient(closest-side, var(--c), transparent); opacity: 0; transition: opacity .7s; z-index: -1; filter: blur(20px); }
.theme:hover { border-color: #3a3a3a; transform: translateY(-8px); }
.theme:hover::before { opacity: .22; }
.theme__art { position: relative; width: 82%; max-width: 340px; justify-self: center; aspect-ratio: 1; margin-block: 8px; }
.theme__art canvas { width: 100%; height: 100%; display: block; }
.theme__art::after { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed #2f2f2f; animation: spin 80s linear infinite; }
.theme__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.theme__n { font-size: .74rem; letter-spacing: .2em; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; }
.theme h3 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.theme p { color: var(--par); }
.theme__swatches { display: flex; gap: 6px; }
.theme__swatches i { width: 10px; height: 10px; border-radius: 50%; background: var(--s); }
@media (max-width: 960px) { .themes { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .theme__art { width: 64%; } }

/* four ways */
.door { position: relative; display: grid; grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1fr) 70px; gap: 24px; align-items: center; padding-block: 32px; border-top: 1px solid var(--paper-line); overflow: hidden; isolation: isolate; transition: color .4s; }
.door:last-child { border-bottom: 1px solid var(--paper-line); }
.door::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.door:hover::before, .door:focus-visible::before { transform: scaleY(1); }
.door:hover, .door:focus-visible { color: var(--paper); }
.door__n { font-size: .8rem; letter-spacing: .14em; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; padding-left: 8px; transition: color .4s; }
.door__t { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1; transition: transform .6s var(--ease); }
.door__d { color: var(--ink-soft); max-width: 42ch; transition: color .4s; }
.door:hover .door__n, .door:hover .door__d { color: #9a9a9a; }
.door__go { width: 64px; height: 64px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: background .4s, color .4s, transform .6s var(--ease); justify-self: end; margin-right: 8px; }
.door:hover .door__t { transform: translateX(18px); font-style: italic; }
.door:hover .door__go { background: var(--paper); color: var(--ink); transform: rotate(-45deg); }
@media (max-width: 760px) { .door { grid-template-columns: 1fr 56px; gap: 8px 16px; } .door__n { grid-column: 1 / -1; } .door__go { grid-row: 2 / 4; grid-column: 2; width: 52px; height: 52px; } }

/* big loop */
.bigloop { overflow: hidden; padding-block: clamp(36px, 6vw, 80px); }
.bigloop__track { display: flex; width: max-content; align-items: center; will-change: transform; }
.bigloop__track span { font-family: var(--serif); font-size: clamp(4.5rem, 14vw, 13rem); line-height: 1.1; white-space: nowrap; padding-right: .35em; letter-spacing: -.03em; }
.bigloop__track span:nth-child(3n+2) { color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.55); }
.bigloop__track span:nth-child(3n) { font-style: italic; background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* closing */
.closing { text-align: center; }
.closing__ring { width: min(300px, 70vw); margin: 0 auto 40px; position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.closing__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.closing__ring text { font: 700 12.5px var(--sans); letter-spacing: 5px; text-transform: uppercase; fill: #fff; }
.closing__word { display: grid; gap: 4px; justify-items: center; }
.closing__word strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 6vw, 2.6rem); letter-spacing: -.02em; line-height: 1.1; padding: 0 .06em; }
.closing__word small { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.closing h2 { font-size: clamp(2.6rem, 7vw, 6.2rem); max-width: 14ch; margin-inline: auto; }
.closing p { color: var(--par); max-width: 50ch; margin: 22px auto 36px; }
.btns { display: flex; gap: 14px; flex-wrap: wrap; }
.closing .btns { justify-content: center; }

/* inner page hero */
.phero { padding-top: clamp(150px, 18vw, 220px); padding-bottom: clamp(48px, 7vw, 90px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.phero__row { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 32px; align-items: end; position: relative; }
.phero h1 { font-size: clamp(3.2rem, 10vw, 9rem); line-height: .95; letter-spacing: -0.035em; }
.phero h1 .o { color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.6); }
.phero p { color: var(--par); }
.phero__art { position: absolute; right: -6vw; top: 50%; width: min(46vw, 600px); aspect-ratio: 1; transform: translateY(-50%); opacity: .5; pointer-events: none; }
.phero__art canvas { width: 100%; height: 100%; display: block; }
.crumbs { display: flex; gap: 10px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-weight: 700; margin-bottom: 26px; position: relative; }
@media (max-width: 820px) { .phero__row { grid-template-columns: 1fr; } .phero__art { width: 80vw; right: -30vw; opacity: .3; } }

/* enquiry form */
.enquire { border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 36px); background: var(--body); display: grid; gap: 20px; }
.enquire h3 { font-size: 1.7rem; }
.enquire__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--white); padding: 10px 0; font: 400 1.02rem var(--sans); border-radius: 0; transition: border-color .3s; }
.field select option { background: var(--body); }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--white); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; }
.check span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: var(--par); transition: all .3s; cursor: pointer; }
.check input:checked + span { background: var(--white); border-color: var(--white); color: var(--black); }
.check input:focus-visible + span { outline: 1.5px solid var(--white); outline-offset: 3px; }
.form__foot { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.note { color: var(--dim); font-size: .86rem; }
.note.is-ok { color: var(--white); }
@media (max-width: 560px) { .enquire__grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.split__copy { display: grid; gap: 22px; position: sticky; top: 110px; }
.split__copy h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__copy { position: relative; top: auto; } }

/* custom paintings */
.steps { position: relative; padding-left: clamp(36px, 6vw, 90px); }
.steps__rail { position: absolute; left: clamp(8px, 2vw, 30px); top: 0; bottom: 0; width: 1px; background: var(--line); }
.steps__rail i { position: absolute; inset: 0; background: var(--spectrum); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); padding-block: clamp(56px, 8vw, 110px); border-bottom: 1px solid var(--line); position: relative; }
.step::before { content: ""; position: absolute; left: calc(-1 * clamp(36px, 6vw, 90px) + clamp(8px, 2vw, 30px) - 7px); top: clamp(66px, 8.6vw, 122px); width: 15px; height: 15px; border-radius: 50%; background: var(--black); border: 2px solid var(--white); }
.step__n { font-size: .78rem; letter-spacing: .2em; font-weight: 700; color: var(--dim); }
.step h3 { font-size: clamp(2.4rem, 5.6vw, 5rem); margin-top: 12px; }
.step p { color: var(--par); font-size: 1.08rem; }
.step ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.step li { display: flex; gap: 12px; align-items: baseline; }
.step li::before { content: ""; width: 18px; height: 1px; background: var(--dim); flex: none; transform: translateY(-4px); }
@media (max-width: 820px) { .step { grid-template-columns: 1fr; } }
.share { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--paper-line); }
.share div { padding: 32px 24px 32px 0; display: grid; gap: 10px; }
.share div + div { padding-left: 24px; border-left: 1px solid var(--paper-line); }
.share h3 { font-size: 1.6rem; }
.share p { color: var(--ink-soft); }
@media (max-width: 900px) { .share { grid-template-columns: 1fr 1fr; } .share div:nth-child(3) { padding-left: 0; border-left: 0; } .share div:nth-child(n+3) { border-top: 1px solid var(--paper-line); } }
@media (max-width: 520px) { .share { grid-template-columns: 1fr; } .share div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--paper-line); } }

/* team (Contact page) */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 48px); border-top: 1px solid var(--paper-line); padding-top: 32px; }
.team-grid__role { display: grid; gap: 8px; }
.team-grid__role + .team-grid__role { padding-left: clamp(28px, 5vw, 48px); border-left: 1px solid var(--paper-line); }
.team-grid__label { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--dim); }
.team-grid__role p { color: var(--ink-soft); margin: 0; }
@media (max-width: 700px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-grid__role + .team-grid__role { padding-left: 0; border-left: 0; border-top: 1px solid var(--paper-line); padding-top: 24px; }
}

/* faq */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.faq-aside { position: sticky; top: 120px; display: grid; gap: 20px; }
.faq-aside h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 28px 0; background: none; border: 0; cursor: pointer; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.25; }
.faq-q__icon { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background .3s; }
.faq-q__icon::before, .faq-q__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq-q__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq-q[aria-expanded="true"] .faq-q__icon { background: var(--white); color: var(--black); }
.faq-q[aria-expanded="true"] .faq-q__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--par); padding-bottom: 28px; max-width: 62ch; }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-aside { position: relative; top: auto; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.info { display: grid; border-top: 1px solid var(--line); margin: 0; }
.info div { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.info dt { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.info dd { margin: 0; font-family: var(--serif); font-size: 1.35rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* footer: paint the name */
.foot { border-top: 1px solid var(--line); padding-block: clamp(64px, 8vw, 110px) calc(30px + env(safe-area-inset-bottom, 0px)); }
.foot__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot__mark { display: block; width: 64px; height: 64px; margin-bottom: 26px; }
.foot__cta h2 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 14ch; margin-bottom: 26px; }
.foot h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); font-weight: 700; margin-bottom: 18px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot ul a { color: var(--par); transition: color .3s; }
.foot ul a:hover { color: var(--white); }
.name { position: relative; margin-top: clamp(56px, 8vw, 110px); user-select: none; }
.name__word { position: relative; font-family: var(--serif); font-size: clamp(3.6rem, 16.5vw, 15rem); line-height: .95; letter-spacing: -.045em; white-space: nowrap; }
.name__o { color: transparent; -webkit-text-stroke: 1px #3a3a3a; display: block; }
.name__f { position: absolute; inset: 0; background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-mask-image: radial-gradient(circle at var(--mx, -20%) var(--my, 50%), #000 0, #000 var(--r, 0px), transparent calc(var(--r, 0px) + 90px));
  mask-image: radial-gradient(circle at var(--mx, -20%) var(--my, 50%), #000 0, #000 var(--r, 0px), transparent calc(var(--r, 0px) + 90px)); }
.name__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.name__hint { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); font-weight: 700; display: inline-flex; gap: 10px; align-items: center; }
.name__hint::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--spectrum); }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 30px; color: var(--dim); font-size: .85rem; }
@media (max-width: 860px) { .foot__top { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv.is-pre { transform: none; opacity: 1; }
  .is-pre .scrib path { stroke-dashoffset: 0; }
  .name__f { -webkit-mask-image: none; mask-image: none; }
}
