/* The few things the Higgsfield site got from its framework's base sheet and the pages rely on.
   Kept in a layer so that everything in rrk-v2.css (copied from the live site unchanged) wins, as it does there. */
@layer base{
  *,::after,::before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}
  html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:ui-sans-serif,system-ui,sans-serif;-webkit-tap-highlight-color:transparent;color-scheme:dark}
  h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}
  a{color:inherit;text-decoration:inherit}
  b,strong{font-weight:bolder}
  ol,ul,menu{list-style:none}
  img,svg,video,canvas,audio{vertical-align:middle;display:block}
  img,video{max-width:100%;height:auto}
  button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}
  [hidden]:where(:not([hidden="until-found"])){display:none!important}
  body{min-height:100vh;background-color:#0f0f0f;color:#ecebe7}
}

/* RRK Prive: the look, after the two client references.
   Dark slabs with corner labels and one large line each; a split grid of hairline rows; no curves anywhere.
   The only graphic is the real shape of a piece, drawn as straight vertical bars. Namespaced under .v2. */
/* a small reset of our own, so the pages do not lean on anything else.
   Written with :where() so it carries no weight: every rule below it wins. */
body:has(.v2){margin:0}
:where(.v2),:where(.v2) *,:where(.v2) ::before,:where(.v2) ::after{box-sizing:border-box}
:where(.v2) :where(h1,h2,h3,p,ul,ol,figure){margin:0;padding:0}
:where(.v2) :where(h1,h2,h3){font-size:inherit;font-weight:inherit}
:where(.v2) :where(ul,ol){list-style:none}
:where(.v2) :where(img,svg){display:block;max-width:100%}
:where(.v2) :where(button){font:inherit;color:inherit;background:transparent;border:0}
:where(.v2) :where(i,b){font-style:normal}
html:has(.v2){background:#0f0f0f}
.v2{--gap:#0f0f0f;--bg:#191919;--ink:#ecebe7;--mute:#8d8d89;--line:rgba(236,235,231,.16);
  --panel:#c4c8cc;--pink:#0e0e0e;--pmute:#54585c;--pline:rgba(14,14,14,.24);
  --pad:clamp(1.25rem,3.4vw,3rem);
  min-height:100vh;background:var(--gap);color:var(--ink);overflow-x:clip;
  font-family:'Inter Tight','Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:400;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.v2.has-bar{padding-bottom:4.25rem}
.v2 a{color:inherit;text-decoration:none}
.v2 button{cursor:pointer}
.v2 :focus-visible{outline:1px solid currentColor;outline-offset:4px}
.v2 ::selection{background:var(--ink);color:var(--bg)}

.v2-l{font-size:.72rem;line-height:1.25;letter-spacing:.045em;text-transform:uppercase;font-weight:500}
.v2-l.soft{font-weight:400;color:var(--mute)}
.v2-row{display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem}
.v2-slab{background:var(--bg);padding:var(--pad);margin-bottom:10px;display:flex;flex-direction:column}

/* cover */
.v2-cover{min-height:min(100svh,60rem);gap:clamp(2rem,5vw,4rem)}
.v2-cover.short{min-height:min(70svh,42rem)}
.v2-top{display:flex;justify-content:space-between;align-items:center}
.v2-top img{display:block;width:auto;height:clamp(34px,3.2vw,46px)}
.v2-top nav{display:flex;gap:1.75rem}
.v2-nav{padding:.35rem 0;background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .45s cubic-bezier(.2,.7,.1,1)}
.v2-nav:hover,.v2-nav[aria-current]{background-size:100% 1px}
.v2-giant{display:flex;align-items:center;gap:.14em;margin-top:auto;
  font-size:clamp(3.2rem,14.4vw,15.5rem);line-height:.86;letter-spacing:-.05em;font-weight:400;white-space:nowrap}
.v2-cover.short .v2-giant{font-size:clamp(3rem,13vw,14rem)}
.v2-giant svg{flex:none;width:1.02em;height:.5em;overflow:visible}
.v2-under{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,9fr);gap:1.5rem;align-items:end}
.v2-date{display:flex;flex-direction:column;gap:.1rem}
.v2-date b,.v2-count b{font-size:clamp(1.35rem,1.9vw,1.75rem);font-weight:400;letter-spacing:-.01em;line-height:1}
.v2-info{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:1.5rem;align-self:start}
.v2-info ul{margin-top:.9rem;display:grid;gap:.55rem}
.v2-info li a{display:flex;justify-content:space-between;gap:1rem;font-size:.82rem;color:var(--mute);transition:color .25s}
.v2-info li a:hover{color:var(--ink)}
.v2-lead{font-size:clamp(.95rem,1.15vw,1.1rem);color:var(--mute)}

/* the lines */
.v2-line{gap:clamp(2.5rem,6vw,5.5rem)}
.v2-count{display:flex;flex-direction:column;align-items:flex-end;gap:.1rem}
.v2-h{font-size:clamp(2.5rem,7vw,7rem);line-height:1.02;letter-spacing:-.045em;font-weight:500}
.v2-h span{display:block}
.v2-line[data-v="a"] .v2-body{display:grid;gap:clamp(1.25rem,2.4vw,2rem)}
.v2-line[data-v="b"] .v2-body{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(1.5rem,3.4vw,3rem);align-items:end}
.v2-band{display:flex;align-items:center;gap:1.1rem;padding:.9rem 0;color:var(--mute);transition:color .35s}
.v2-band i{flex:1;height:1px;background:currentColor;opacity:.55;transform-origin:right;transition:transform .6s cubic-bezier(.2,.7,.1,1),opacity .35s}
.v2-band:hover{color:var(--ink)}
.v2-band:hover i{opacity:1;transform:scaleX(.97)}

/* split grid */
.v2-split{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(0,1fr);background:var(--panel);color:var(--pink);margin-bottom:10px}
.v2-dark{background:#0c0c0c;color:var(--ink);display:grid;grid-template-rows:auto 1fr}
.v2-say{padding:clamp(1.5rem,3vw,2.5rem) var(--pad);font-size:clamp(.95rem,1.15vw,1.1rem);line-height:1.3;border-bottom:1px solid var(--line)}
.v2-big{padding:clamp(4rem,10vw,9rem) var(--pad) clamp(1.5rem,3vw,2.5rem);display:flex;align-items:flex-end;
  font-size:clamp(3.2rem,9.4vw,9.5rem);line-height:.86;letter-spacing:-.045em;font-weight:300;text-transform:uppercase}
.v2-stats{display:flex;flex-direction:column}
.v2-stat{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:clamp(1rem,1.9vw,1.6rem) var(--pad);border-bottom:1px solid var(--pline)}
.v2-stat span{font-size:.78rem;line-height:1.2;max-width:10ch}
.v2-stat b{font-size:clamp(1.8rem,3vw,2.6rem);font-weight:300;letter-spacing:-.03em;line-height:1}
.v2-go-wrap{flex:1;display:grid;place-items:center;padding:clamp(2rem,4vw,3.5rem) var(--pad)}
.v2-go{display:inline-block;min-width:11.5rem;padding:.8rem 1.5rem;text-align:center;background:var(--pink);color:var(--panel)!important;
  box-shadow:inset 0 0 0 1px var(--pink);transition:background .3s,color .3s}
.v2-go:hover{background:transparent;color:var(--pink)!important}

/* all pieces: a grid of roomy cells on the grey sheet */
.v2-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:var(--panel);color:var(--pink);--mute:var(--pmute);margin-bottom:10px}
.v2-cell{padding:clamp(1.75rem,3.4vw,3rem) var(--pad) clamp(2rem,4vw,3.5rem);border-bottom:1px solid var(--pline);min-width:0;scroll-margin:2rem;transition:background .4s}
.v2-cell:nth-child(odd){border-right:1px solid var(--pline)}
.v2-cell.on{background:rgba(14,14,14,.05)}
.v2-cell h2{margin-top:clamp(2.5rem,6vw,5rem);font-size:clamp(1.8rem,3.3vw,3.4rem);font-weight:400;line-height:1.04;letter-spacing:-.035em;text-wrap:balance}
.v2-cell h2 button{padding:0;font:inherit;text-align:left;letter-spacing:inherit;overflow-wrap:anywhere}
.v2-wave{position:relative;display:block;width:100%;height:2.75rem;margin-top:1.5rem;padding:0;color:var(--pink)}
.v2-wave svg{position:absolute;inset:0;width:100%;height:100%}
.v2-wave .base{opacity:.3;transition:opacity .4s}
.v2-wave:hover .base{opacity:.48}
.v2-wave .done{clip-path:inset(0 calc(100% - var(--at,0%)) 0 0)}
.v2-act{display:flex;align-items:center;gap:1.25rem;margin-top:.9rem;font-size:.8rem}
.v2-act button{display:inline-flex;align-items:center;gap:.55rem;min-height:44px;padding:0}
.v2-act svg,.v2-bar-ctl svg{width:.7rem;height:.7rem;fill:currentColor}
.v2-act span,.v2-act a{color:var(--pmute)}
.v2-act a{margin-left:auto;text-decoration:underline;text-underline-offset:.22em}

/* foot + player */
.v2-foot{background:var(--bg);padding:1.5rem var(--pad)}
.v2-bar{position:fixed;left:0;right:0;bottom:0;z-index:20;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1.5rem;
  height:4.25rem;padding:0 var(--pad);background:#0c0c0c;color:var(--ink);border-top:1px solid var(--line)}
.v2-bar-ctl{display:flex;gap:.4rem}
.v2-bar-ctl button{display:grid;place-items:center;width:2rem;height:2rem;padding:0}
.v2-bar-m{display:grid;gap:.35rem;min-width:0}
.v2-bar-m p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v2-seek{position:relative;height:.9rem;cursor:pointer}
.v2-seek::before,.v2-seek i{content:"";position:absolute;left:0;top:50%;height:1px}
.v2-seek::before{right:0;background:var(--line)}
.v2-seek i{background:currentColor;height:2px;margin-top:-.5px}
.v2-time{font-size:.75rem;font-variant-numeric:tabular-nums;color:var(--mute)}

@media (max-width:860px){
  .v2-cover{min-height:min(92svh,46rem)}
  .v2-giant,.v2-cover.short .v2-giant{font-size:14.6vw}
  .v2-cover.short .v2-giant{font-size:13.4vw}
  .v2-under{grid-template-columns:minmax(0,1fr);gap:2rem}
  .v2-info{grid-template-columns:1fr 1fr;order:-1}
  .v2-info>div:last-child{grid-column:1/-1}
  .v2-top nav{gap:1.1rem}
  .v2-line[data-v="b"] .v2-body{grid-template-columns:minmax(0,1fr)}
  .v2-h{font-size:clamp(2.3rem,11vw,4rem)}
  .v2-split,.v2-grid{grid-template-columns:minmax(0,1fr)}
  .v2-cell:nth-child(odd){border-right:0}
  .v2-big{font-size:19vw}
  .v2-bar{gap:1rem}
  .v2-bar .v2-time{display:none}
}
@media (prefers-reduced-motion:reduce){.v2 *{transition:none!important}}

/* ---------- v3 : v2 with the studio photographs, in monochrome, as wide bands ---------- */
.v3 .v2-line{gap:clamp(1.5rem,3.2vw,2.75rem)}
.v3-shot{display:block;position:relative;overflow:hidden;background:#101010}
.v3 .v2-line[data-v="a"] .v3-shot{aspect-ratio:3.2/1}
.v3 .v2-line[data-v="b"] .v2-body{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)}
.v3 .v2-line[data-v="b"] .v3-shot{aspect-ratio:2/1}
.v3-shot img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;filter:grayscale(1);transition:transform 1.4s cubic-bezier(.2,.7,.1,1)}
.v3-shot:hover img{transform:scale(1.03)}
@media (max-width:860px){.v3 .v2-line[data-v="b"] .v2-body{grid-template-columns:minmax(0,1fr)}.v3 .v2-line[data-v="a"] .v3-shot{aspect-ratio:2.2/1}}

/* RRK Prive on Vercel: everything this copy adds on top of rrk-v2.css (which is the live Higgsfield sheet, unchanged).
   Part 1 is needed in every mode. Part 2 is the motion, and only applies while <html> carries the class "motion"
   (not set when the visitor asks for reduced motion, or with ?still in the address - that shows the plain copy).
   The language is the site's own: straight edges, hairlines, one easing curve. No curves, no bounce. */
:root{--ease:cubic-bezier(.2,.7,.1,1)}

/* ---------- 1. always ---------- */
/* the logo (29 Nov): Rohit's own mark with RRK PRIVE in his logo's typeface. It is finer than the tag it replaces,
   so it stands a little taller; on the first photograph, the wider strip keeps his face clear of the top edge. */
.v2-top img{height:clamp(44px,4vw,60px)}
.v3-shot img[src*="studio-desk"]{object-position:50% 46%}
/* the three pages live in one document; only the current one shows */
.v2 main[hidden]{display:none}

/* the two rooms (2 Dec): three names in the menu, a heading too long for one line, one sentence under it */
/* on a narrow phone the three names need the row, so the logo shows Rohit's mark alone (cut from the same picture) */
.v2-top img.lg-mark{display:none}
@media (max-width:480px){.v2-top img.lg-full{display:none}.v2-top img.lg-mark{display:block}}
/* a heading given as two lines (none today: "Unfinished Takes" was, before the room was renamed): the arrow with the first */
.v2-giant.two{flex-direction:column;align-items:flex-start;gap:.06em}
.v2-giant.two .ln{display:flex;align-items:center;gap:.14em}
/* the sentence under a room's heading takes the two columns the count and "Take your time." had */
.v2-info>.wide{grid-column:2/-1}
.v2-under.solo .v2-info{grid-column:2}
@media (max-width:860px){.v2-info>.wide{grid-column:1/-1}.v2-under.solo .v2-info{grid-column:auto}}
/* a room with no pieces yet is one screen: its cover fills it and the foot sits at the bottom */
.v2:has(main.alone:not([hidden])){display:flex;flex-direction:column;min-height:100svh}
.v2 main.alone:not([hidden]){flex:1;display:flex;flex-direction:column}
.v2 main.alone .v2-cover{flex:1}
.v2-info>.wide .v2-lead{text-wrap:pretty}
.v2-lead a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em;color:var(--ink);transition:opacity .25s}
.v2-lead a:hover{opacity:.7}

/* the shape of each piece: on the live site its space is there but nothing is drawn; here it is drawn on a canvas */
.v2-wave canvas{position:absolute;inset:0;width:100%;height:100%}

/* the player bar stays through page changes; it is in the page from the start and comes up when a piece is chosen */
.v2-bar{visibility:hidden;transform:translateY(100%)}
.v2.has-bar .v2-bar{visibility:visible;transform:none}
.v2-bar-m p{display:flex;align-items:center;gap:.7rem}
/* with the bar up, the first screen ends above it (on the live site the bar never met the home page) */
.v2.has-bar .v2-cover:not(.short){min-height:min(calc(100svh - 4.25rem),60rem)}
@media (max-width:860px){.v2.has-bar .v2-cover:not(.short){min-height:min(calc(92svh - 4.25rem),46rem)}}
.v2-bar-m p b{font-weight:inherit;min-width:0;overflow:hidden;text-overflow:ellipsis}
.v2-meter{display:none}
/* play and pause share a button */
.v2 button:not(.is-playing) .g-pause,.v2 button.is-playing .g-play{display:none}

/* the sheet that crosses the screen between the two pages */
.rrk-curtain{position:fixed;inset:0;z-index:40;background:#0c0c0c;border-top:1px solid rgba(236,235,231,.16);border-bottom:1px solid rgba(236,235,231,.16);
  transform:translateY(102%);pointer-events:none;visibility:hidden}

/* ---------- 2. motion ---------- */
/* player bar */
html.motion .v2{transition:padding-bottom .6s var(--ease)}
html.motion .v2-bar{transition:transform .6s var(--ease),visibility 0s .6s}
html.motion .v2.has-bar .v2-bar{transition:transform .6s var(--ease),visibility 0s}
html.motion .v2-meter{display:inline-flex;align-items:center;gap:2px;height:.7rem;flex:none}
html.motion .v2-meter i{display:block;width:2px;height:100%;background:currentColor;transform:scaleY(.14);transform-origin:50% 50%;transition:transform .12s linear}
html.motion .v2-bar-m p b.swap{animation:rrk-swap .55s var(--ease)}
@keyframes rrk-swap{from{opacity:0;transform:translateY(.7em)}to{opacity:1;transform:none}}
html.motion .v2-bar-ctl button{transition:opacity .25s,transform .25s var(--ease)}
html.motion .v2-bar-ctl button:active{transform:scale(.86)}

/* things that rise into place: a group (section or cell) gets "in" when it comes into view */
html.motion [data-g]:not(.in) [data-r="up"]{opacity:0;transform:translateY(18px)}
html.motion [data-g]:not(.in) [data-r="down"]{opacity:0;transform:translateY(-12px)}
html.motion [data-r="up"],html.motion [data-r="down"]{
  transition:opacity .9s ease calc(var(--d,0s) + var(--gd,0s)),transform 1.05s var(--ease) calc(var(--d,0s) + var(--gd,0s))}

/* a dark slab itself comes up a little as it arrives */
html.motion [data-g].rise:not(.in){opacity:0;transform:translateY(36px)}
html.motion [data-g].rise{transition:opacity .8s ease,transform 1.1s var(--ease)}

/* words and letters come up from behind a straight edge. The script splits the text just before, and puts it back after. */
html.motion [data-g]:not(.in) :is([data-r="chars"],[data-r="words"]):not(.split){visibility:hidden}
html.motion .v2 .mk{display:inline-block;position:relative;overflow:hidden;vertical-align:top;padding:.16em .09em .24em;margin:-.16em -.09em -.24em}
html.motion .v2 .mk>span{display:inline-block;transform:translateY(125%);
  transition:transform 1.05s var(--ease) calc(var(--d,0s) + var(--gd,0s) + var(--i,0)*var(--step,60ms))}
html.motion .v2 .in .mk>span{transform:none}
html.motion .v2-giant [data-r="chars"]{--step:38ms}
html.motion .v2-big [data-r="chars"]{--step:55ms}

/* the arrow draws itself, then now and again runs off and draws again */
html.motion .v2-giant path{stroke-dasharray:1;stroke-dashoffset:1}
html.motion .in .v2-giant path{stroke-dashoffset:0;transition:stroke-dashoffset 1.2s var(--ease) .15s}
html.motion .in .v2-giant.idle path{transition:none;animation:rrk-arrow 8s var(--ease) infinite}
@keyframes rrk-arrow{0%,80%{stroke-dashoffset:0}88%{stroke-dashoffset:-1}88.01%{stroke-dashoffset:1}100%{stroke-dashoffset:0}}
html.motion .v2-giant svg{transition:translate .7s var(--ease)}
@media (hover:hover){html.motion .v2-giant:hover svg{translate:.07em 0}}

/* photographs open from the left edge, settle, then drift a little with the scroll */
html.motion [data-g]:not(.in) .v3-shot{clip-path:inset(0 100% 0 0)}
html.motion .v3-shot{clip-path:inset(0 0 0 0);transition:clip-path 1.35s var(--ease) .12s}
html.motion [data-g]:not(.in) .v3-shot img{scale:1.22}
html.motion .v3-shot img{scale:1.07;translate:0 var(--drift,0%);transition:transform 1.4s var(--ease),scale 2s var(--ease) .12s}

/* small answers to the pointer */
@media (hover:hover){
  html.motion .v2-info li a{transition:color .25s,translate .5s var(--ease)}
  html.motion .v2-info li a:hover{translate:.3em 0}
  html.motion .v2-cell h2 button{transition:translate .55s var(--ease)}
  html.motion .v2-cell:hover h2 button{translate:.16em 0}
}
html.motion .v2-act a{animation:rrk-swap .5s var(--ease)}
html.motion .v2-go{transition:background .3s,color .3s,scale .3s var(--ease)}
html.motion .v2-go:active{scale:.97}

/* second column of pieces arrives a beat later */
html.motion .v2-cell:nth-child(even){--gd:.09s}
@media (max-width:860px){html.motion .v2-cell:nth-child(even){--gd:0s}}
