/* index.html (main homepage) — "Bylines, brands & backstage" reel.
   Names flow like a sentence in large type on every screen size.
   Mouse: hovering a name dims the rest and its photo floats just above the cursor.
   Touch: a photo frame above the names auto-cycles a "spotlight" through the names
   (js/reel.js adds .is-inline); tapping a name opens its page. */

.reel { position: relative; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(64px, 9vw, 128px); }
.reel-eyebrow { margin-bottom: clamp(20px, 3vw, 36px); }

.reel-list { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .32em; row-gap: .1em;
  font-family: var(--font-head); font-weight: 300; font-size: clamp(24px, 3vw, 44px); line-height: 1.3; letter-spacing: -.01em; }

/* small group labels sit inline, like an editorial index */
.reel-list li { display: inline-flex; align-items: baseline; }
.reel-label { font-family: var(--font-head); font-size: 11px; font-weight: 500; letter-spacing: .18em; line-height: 1;
  text-transform: uppercase; color: var(--accent); align-self: center; margin: 0 .9em 0 .6em; white-space: nowrap; }
.reel-list li:first-child .reel-label { margin-left: 0; }

.reel-link { position: relative; display: inline-flex; align-items: baseline; transition: opacity .35s var(--ease), color .35s; }
/* "/" between names in the same group (not before the next group) */
.reel-list li:has(+ li:not(.is-group-start)) .reel-link::after { content: "/"; margin-left: .32em; color: var(--line); }
.reel-link sup { font-family: var(--font-body); font-size: .3em; line-height: 1; letter-spacing: .04em; color: var(--accent);
  margin-left: .3em; align-self: flex-start; margin-top: .35em; }

/* hover choreography: everything dims, the hovered name stays ink and turns accent */
.reel-list.is-hovering .reel-link { opacity: .18; }
.reel-list.is-hovering .reel-link.is-active { opacity: 1; color: var(--accent); }

/* floating preview (positioned by js/reel.js) */
.reel-preview {
  position: fixed; left: 0; top: 0; z-index: 40; width: clamp(200px, 19vw, 300px); aspect-ratio: 4 / 5;
  pointer-events: none; overflow: hidden; opacity: 0; transform: translate3d(-9999px, 0, 0);
  transition: opacity .3s var(--ease); background: var(--bg-alt);
  box-shadow: 0 24px 60px -24px rgba(20, 20, 20, .35);
}
.reel-preview.is-visible { opacity: 1; }
.reel-preview img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform .6s var(--ease); }
.reel-preview.is-visible img { transform: scale(1); }

/* touch screens: the preview becomes a frame in the page, above the names (js/reel.js) */
.reel-preview.is-inline {
  position: relative; left: auto; top: auto; z-index: auto; transform: none !important;
  width: min(58vw, 260px); margin: 0 0 clamp(20px, 5vw, 32px); opacity: 1; box-shadow: none;
}
.reel-preview.is-inline img { transform: none; transition: opacity .45s var(--ease); }
.reel-preview.is-inline.is-swapping img { opacity: 0; }
/* the spotlight runs constantly on touch screens, so keep the other names readable */
.reel-preview.is-inline + .reel-list.is-hovering .reel-link { opacity: .4; }
.reel-preview.is-inline + .reel-list.is-hovering .reel-link.is-active { opacity: 1; }
