/* NANI UCHIHA. Black, a small bold wide menu at the left, big media, almost no text (after bydelancey.com). */
:root {
  --bg: #000; --ink: #f2f2f2; --dim: rgba(242, 242, 242, .55);
  --ice: #9fc3ee; --lilac: #b9a7e6;
  --rail: 96px; --edge: 40px; --gut: 32px; --accent: #e3262f;
  --wide: "Archivo", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: var(--wide); font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
a:focus-visible, .strip:focus-visible { outline: 1px solid var(--ice); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wide, .tile-label, figcaption, .player h2, .out, .contact, .hero-hint { font-variation-settings: "wdth" 125; text-transform: uppercase; }

/* ---------- menu: the Anora cast column, down the right edge ---------- */
.rail { position: fixed; z-index: 10; top: 0; right: 0; bottom: 0; width: var(--rail); padding: 28px 0; }
.rail ul { list-style: none; margin: 0; padding: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.rail a { display: flex; gap: 10px; writing-mode: vertical-rl; text-transform: uppercase; opacity: .78; transition: opacity .2s, color .2s; }
.rail a:hover, .rail a[aria-current="page"] { opacity: 1; }
.rail a[aria-current="page"] .rail-main { color: var(--accent); }
.rail-main { font-variation-settings: "wdth" 62; font-weight: 700; font-size: clamp(17px, 2.1vh, 24px); letter-spacing: .04em; line-height: 1; }
.rail-sub { font-variation-settings: "wdth" 62; font-weight: 600; font-size: 8px; letter-spacing: .12em; color: var(--dim); line-height: 1; align-self: flex-end; }
/* small sideways fine print on the left edge, like the poster's "DESIGNED BY / POSTER 012" */
.edge { position: fixed; z-index: 10; left: 0; top: 0; bottom: 0; width: var(--edge); padding: 28px 0; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.edge > * { writing-mode: vertical-rl; transform: rotate(180deg); font-variation-settings: "wdth" 62; font-weight: 600; font-size: 8px; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; }
.edge a:hover { color: var(--ink); }

/* ---------- home ---------- */
.is-full { overflow: hidden; height: 100vh; height: 100dvh; }
.hero { position: fixed; inset: 0; background:
  radial-gradient(ellipse 60% 70% at 55% 58%, rgba(159, 195, 238, .22), transparent 70%),
  radial-gradient(ellipse 50% 40% at 40% 80%, rgba(185, 167, 230, .16), transparent 70%), #04050a; }
.hero-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; transition: opacity .9s ease; }
.hero-stage { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; touch-action: pan-y; cursor: grab; }
.hero-stage:active { cursor: grabbing; }
.hero.is-live .hero-stage { opacity: 1; }
.hero.is-live .hero-still { opacity: 0; }
.hero-stage canvas { display: block; width: 100%; height: 100%; }
.hero-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, 34vh); margin: 0; font-size: 9px; font-weight: 800; letter-spacing: .3em; color: var(--dim); transition: opacity .6s; pointer-events: none; }
.tiles { position: absolute; right: calc(var(--rail) + 8px); bottom: 28px; display: flex; gap: 18px; z-index: 5; }
.tile { display: block; width: clamp(130px, 13vw, 200px); }
.tile-clip { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #111; filter: saturate(.9); transition: filter .3s, transform .4s; }
.tile:hover .tile-clip { filter: saturate(1.1); transform: translateY(-3px); }
.tile-label { display: block; margin-top: 8px; font-weight: 900; font-size: clamp(15px, 1.5vw, 22px); letter-spacing: .01em; text-align: center; }

.float { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.float rect, .float line { fill: none; stroke: var(--accent); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.float rect { stroke-width: 1.6; opacity: .9; }
.float circle { fill: var(--accent); }
.float g { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.float-a { transform: translate(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -10px)); }
.float-b { transform: translate(calc(var(--px, 0) * 22px), calc(var(--py, 0) * 16px)); }
.float-c { transform: translate(calc(var(--px, 0) * 30px), calc(var(--py, 0) * -20px)); }

/* ---------- modeling ---------- */
.strip-wrap { margin: 0 var(--rail) 0 var(--edge); padding: 44px 0 0; }
.strip { display: flex; gap: 26px; overflow-x: auto; overflow-y: hidden; height: calc(100vh - 44px); padding: 0 var(--gut) 0 12px;
  scrollbar-width: none; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
.strip::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 auto; margin: 0; height: calc(100vh - 120px); display: flex; flex-direction: column; scroll-snap-align: start; }
.shot img { height: calc(100% - 30px); width: auto; display: block; background: #0b0b0b; }
.shot figcaption { margin-top: 12px; font-size: 11px; font-weight: 800; letter-spacing: .06em; }

/* ---------- music ---------- */
.music { margin: 0 var(--rail) 0 var(--edge); padding: 44px var(--gut) 90px; display: grid; gap: 48px; max-width: 1100px; grid-template-columns: 1fr 1fr; align-items: start; }
.player h2 { margin: 0 0 14px; font-size: 22px; font-weight: 900; }
.player iframe { display: block; width: 100%; border: 0; border-radius: 0; background: #0b0b0b; }
.frame169 { position: relative; aspect-ratio: 16 / 9; background: #0b0b0b; }
.frame169 iframe { position: absolute; inset: 0; height: 100%; }
.out { display: inline-block; margin-top: 12px; font-size: 10px; font-weight: 800; letter-spacing: .08em; color: var(--dim); }
.out:hover { color: var(--ink); }

/* ---------- contact ---------- */
.contact { margin: 0 var(--rail) 0 var(--edge); padding: 44px var(--gut) 90px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.contact .kicker { margin: 0 0 10px; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--dim); }
.contact .big { margin: 0; font-size: clamp(28px, 6vw, 84px); font-weight: 900; line-height: .95; }
.contact .muted { color: var(--dim); }
.contact .links { list-style: none; margin: 40px 0 0; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.contact .links a { box-shadow: 0 1px 0 var(--dim); }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  :root { --gut: 16px; --rail: 52px; --edge: 0px; }
  .rail { padding: 16px 0; }
  .rail-main { font-size: 15px; }
  .rail-sub { display: none; }
  .edge { display: none; }
  .tiles { left: var(--gut); right: calc(var(--rail) + 4px); bottom: 18px; justify-content: space-between; }
  .tile { width: calc(50% - 9px); }
  .tile-clip { aspect-ratio: 16 / 10; }
  .hero-hint { transform: translate(-50%, 18vh); }
  .float { display: none; }
  .strip-wrap { padding-top: 20px; }
  .strip { display: grid; gap: 32px; height: auto; overflow: visible; padding: 0 var(--gut) 70px; }
  .shot { height: auto; }
  .shot img { width: 100%; height: auto; }
  .music, .contact { padding: 24px var(--gut) 70px; grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
