/* Flux Sports: the pages that are not the homepage (round 4, 27 Nov 2026). Loaded after v25.css, which holds the
   type sizes, the colours, the bands, the menu, the enquiry, the footer and the cookie line.
   The Work page, a story page, the contact page and the legal pages. */

/* ---------- the top of every page: the logo and the pages, where the hero has them ---------- */
.top { position: relative; margin: var(--edge) var(--edge) 0; height: 56px; background: var(--panel); border: 1px solid var(--hair); }
.top .nav { border-bottom: 0; }
.pg { padding: 7px var(--edge) 0; }
.pg > .stripes { padding-top: 0; }
.band a { display: inline-block; }
.band a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page .contact { margin-top: 130px; }
.page-contact .contact { margin-top: 14px; }
.page-contact .con { min-height: calc(100vh - 330px); min-height: calc(100svh - 330px); align-items: center; }

/* ---------- the Work page ---------- */
.pg-title { display: grid; grid-template-columns: minmax(200px, .8fr) 3fr; gap: 34px; padding: 70px var(--pad) 84px; align-items: end; }
.pg-h { grid-column: 2; font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.03em; font-size: clamp(64px, 12.5vw, 200px); line-height: .8; color: var(--bone); margin-left: -.035em; }
.pg-title .lede-s { grid-column: 2; margin-top: 4px; }
.pg-title .acts { grid-column: 2; margin-top: 6px; }
.wx { display: grid; gap: 110px; }
.wx-team { display: grid; grid-template-columns: minmax(200px, .8fr) 3fr; gap: 34px; padding: 0 var(--pad); align-items: start; }
.wx-h { position: sticky; top: 86px; padding-top: 16px; border-top: 1px solid var(--hair-2); }
.wx-h .body { margin-top: 14px; max-width: 17em; }
.wx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 34px; }
.team-fighters { --team: #eff019; }
.card { display: grid; align-content: start; }
.card-img { display: block; overflow: hidden; background: #0b0b0a; }
.card-img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .9s cubic-bezier(.2, .8, .2, 1), filter .4s; }
.card:hover .card-img img, .card:focus-visible .card-img img { transform: scale(1.025); filter: brightness(1.08); }
.card-k { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; color: var(--bone); }
.card-t { font-weight: 620; letter-spacing: -.04em; font-size: clamp(28px, 2.7vw, 42px); line-height: 1; color: var(--bone); margin-top: 12px; }
.card-s { margin-top: 10px; max-width: 26em; }

/* ---------- a story: the piece on one side, held in place, and what it means on the other ---------- */
.story { padding: 7px var(--edge) 0; }
.st { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: 0 70px; padding: 0 var(--pad); align-items: start; }
.st-art { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: start; justify-items: center; padding-top: 4vh; }
.st-head { grid-column: 2; padding: calc(4vh + 2px) 0 0; }
.st-notes { grid-column: 2; }
.st-frame { position: relative; height: min(calc(100vh - 190px), 860px); height: min(calc(100svh - 190px), 860px); max-width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #0b0b0a; box-shadow: 0 34px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(235, 230, 218, .06);
  --x1: 0%; --y1: 0%; --x2: 100%; --y2: 100%; --o: 0; }
.st-canvas { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.st-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.st-img.on { opacity: 1; }
/* the part being talked about stays lit; the rest of the piece is dimmed round it */
.st-dim { position: absolute; inset: 0; background: rgba(8, 8, 8, .68); opacity: var(--o); pointer-events: none;
  clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, var(--x1) var(--y1), var(--x1) var(--y2), var(--x2) var(--y2), var(--x2) var(--y1), var(--x1) var(--y1)); }
.st-hole { position: absolute; left: var(--x1); top: var(--y1); width: calc(var(--x2) - var(--x1)); height: calc(var(--y2) - var(--y1)); border: 1px solid rgba(235, 230, 218, .5); opacity: var(--o); pointer-events: none; }
.st-over { display: flex; gap: 18px; align-items: center; }
.st-h { font-weight: 620; letter-spacing: -.045em; font-size: clamp(42px, 5vw, 80px); line-height: .94; color: var(--bone); margin: 22px 0 30px; max-width: 9.5em; }
.st-head .lede-s { max-width: 22em; }
.st-head .body { margin-top: 14px; max-width: 30em; font-size: 17px; }
.st-facts { margin-top: 44px; border-bottom: 1px solid var(--hair); max-width: 620px; }
.st-facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 11px 0 10px; border-top: 1px solid var(--hair); }
.st-facts dd { color: var(--bone); }
.st-notes { list-style: none; padding: 96px 0 0; max-width: 620px; }
.note { padding: 34px 0 60px; border-top: 1px solid var(--hair-2); }
.note-n { transition: color .4s; }
.note-n span { color: var(--mute); }
.note-h { font-weight: 620; letter-spacing: -.035em; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; color: var(--mute); margin: 14px 0 14px; transition: color .4s; }
.note .body { font-size: 18px; line-height: 1.5; max-width: 27em; color: var(--dim); transition: color .4s; }
.note.on .note-h { color: var(--bone); }
.note.on .body { color: var(--stone); }
.note.on .note-n { color: var(--bone); }
html.calm .note-h, .st-solo .note-h { color: var(--bone); } html.calm .note .body, .st-solo .note .body { color: var(--stone); }
/* the credits, set as the posters set them */
/* The picture is held for as long as this column lasts, and a note is read as it crosses a line 46% down the screen.
   So the column has to run on after the last note: far enough for that note to finish crossing the line (54% of the
   screen) and for the picture to open back out to the whole piece (90px more) before it lets go. Without this the
   picture let go with the last one or two notes still unread (found on the live site, 29 Nov 2026). The credits sit
   at the top of that space. _tools/story-test.cjs holds the rule. */
.st-credits { display: flex; flex-wrap: wrap; align-content: flex-start; align-items: flex-start; gap: 8px 34px; padding: 26px 0 0; border-top: 1px solid var(--hair-2); color: var(--bone); min-height: calc(54vh + 90px); min-height: calc(54svh + 90px); }
.st-next { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: end; margin-top: 150px; padding: 0 var(--pad); }
.st-next-a { position: relative; display: grid; gap: 10px; padding: 26px 0 30px; border-top: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2); min-height: 190px; align-content: center; }
.st-next-t { font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.03em; font-size: clamp(36px, 6vw, 96px); line-height: .86; color: #bdb8aa; transition: color .35s; max-width: calc(100% - 170px); }
.st-next-a:hover .st-next-t, .st-next-a:focus-visible .st-next-t { color: #fff; }
.st-next-k { color: var(--bone); }
.st-next-a img { position: absolute; right: 0; top: 50%; width: 112px; height: auto; transform: translateY(-50%) rotate(3deg); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.st-next-a:hover img { transform: translateY(-54%) rotate(-2deg) scale(1.05); }
.st-next .lnk { margin-bottom: 30px; }

/* ---------- the legal pages ---------- */
.lg { display: grid; grid-template-columns: minmax(200px, .8fr) 3fr; gap: 34px; padding: 70px var(--pad) 0; align-items: start; }
.lg-side { position: sticky; top: 86px; }
.lg-h { font-weight: 620; letter-spacing: -.045em; font-size: clamp(34px, 3.4vw, 54px); line-height: .96; color: var(--bone); margin-bottom: 18px; }
.lg-tabs { display: grid; gap: 8px; justify-items: start; margin-top: 34px; color: var(--dim); }
.lg-tabs a:hover, .lg-tabs a[aria-current] { color: var(--bone); }
.lg-body { max-width: 680px; }
.lg-draft { padding: 12px 14px; border: 1px dashed var(--hair-2); color: var(--bone); line-height: 1.6; margin-bottom: 40px; }
.lg-body h2 { font-weight: 600; font-size: 21px; letter-spacing: -.015em; line-height: 1.2; color: var(--bone); margin: 44px 0 12px; }
.lg-body p, .lg-body li { font-size: 17px; line-height: 1.55; color: var(--stone); }
.lg-body p + p { margin-top: 12px; }
.lg-body ul { list-style: none; display: grid; gap: 10px; }
.lg-body li { padding-left: 18px; position: relative; }
.lg-body li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--dim); }
.lg-body a { color: var(--bone); }
.lg-body .lnk { cursor: pointer; margin: 6px 0 10px; }
.lg-body .lnk:hover { background: var(--bone); color: #111; }

/* ---------- Services, Motion and Studio (29 Nov 2026): a page each, in the Work page's frame ---------- */
/* a longer word in the page title needs a smaller size to stay inside its column */
.pg-h.t8 { font-size: clamp(56px, 10.4vw, 168px); }
.nav-links a[aria-current="page"] { color: var(--bone); }
/* a small picture with a two-part label, which opens a story or a film */
.ex { display: block; margin: 0; }
.ex img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #0b0b0a; transition: filter .4s; }
a.ex:hover img, a.ex:focus-visible img { filter: brightness(1.1); }
.ex .cap { display: grid; gap: 2px; padding: 11px 2px 0; color: var(--bone); }

.sv-all { display: grid; gap: 130px; }
.sv { display: grid; grid-template-columns: minmax(200px, .8fr) 3fr; gap: 34px; padding: 0 var(--pad); align-items: start; scroll-margin-top: 30px; }
.sv-side { position: sticky; top: 86px; display: grid; gap: 26px; padding-top: 16px; border-top: 1px solid var(--hair-2); }
.sv-side .k span, .mo-t .k span { color: var(--mute); }
.sv-covers { list-style: none; display: grid; gap: 8px; color: var(--bone); }
.sv-main { padding-top: 16px; border-top: 1px solid var(--hair-2); }
.sv-h { font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.03em; font-size: clamp(44px, 7.6vw, 122px); line-height: .84; color: var(--bone); margin: 10px 0 0 -.03em; }
.sv-main .lede-s { margin-top: 30px; }
.sv-main .body { margin-top: 14px; max-width: 34em; font-size: 17px; }
.sv-ex { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 20px; margin-top: 50px; }
.sv-ex.films .ex img { aspect-ratio: 9 / 16; }
.sv-ex.wide { grid-template-columns: minmax(0, 880px); }
.sv-ex.wide .ex img { aspect-ratio: 8 / 5; }
.sv-more { margin-top: 30px; }

.mo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 100px 34px; padding: 0 var(--pad); }
.mo-film { display: grid; grid-template-columns: minmax(0, 310px) minmax(0, 1fr); gap: 30px; align-items: end; padding-top: 16px; border-top: 1px solid var(--hair-2); scroll-margin-top: 30px; }
.mo-v video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: #0b0b0a; cursor: pointer; }
.mo-t { display: grid; gap: 14px; align-content: end; padding-bottom: 2px; }
.mo-h { font-weight: 620; letter-spacing: -.04em; font-size: clamp(28px, 2.7vw, 42px); line-height: 1; color: var(--bone); }
.mo-t .body { max-width: 23em; font-size: 17px; }
.mo-t .credit { display: flex; align-items: center; gap: 10px; min-height: 26px; color: var(--bone); margin-top: 6px; }
.mo-t .credit.k { color: var(--dim); }
.mo-link { margin-top: 4px; }

.page-studio .stu { padding-top: 0; }
.sd { display: grid; gap: 110px; margin-top: 120px; }
.sd-sec { display: grid; grid-template-columns: minmax(200px, .8fr) 3fr; gap: 34px; padding: 0 var(--pad); align-items: start; }
.sd-side { position: sticky; top: 86px; padding-top: 16px; border-top: 1px solid var(--hair-2); color: var(--bone); }
.sd-side .body { margin-top: 14px; max-width: 17em; }
.sd-teams { list-style: none; border-bottom: 1px solid var(--hair-2); }
.sd-teams a { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 274px 86px; gap: 26px; align-items: center; padding: 20px 0; border-top: 1px solid var(--hair-2); transition: background-color .3s; }
.sd-teams a:hover, .sd-teams a:focus-visible { background: rgba(235, 230, 218, .04); }
.sd-tn { display: flex; align-items: center; gap: 16px; font-weight: 620; letter-spacing: -.04em; font-size: clamp(26px, 3vw, 46px); line-height: 1; color: var(--bone); }
.sd-tn i { flex: none; width: 11px; height: 11px; background: var(--team, var(--bone)); }
.sd-thumbs { display: flex; justify-content: flex-end; gap: 6px; }
.sd-thumbs img { width: 50px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #0b0b0a; }
.sd-n { text-align: right; transition: color .3s; }
.sd-teams a:hover .sd-n { color: var(--bone); }
.sd-facts { margin-top: 0; max-width: 760px; }
.sd-facts > div { grid-template-columns: 170px 1fr; }

/* ---------- phones ---------- */
@media (max-width: 820px) {
  .pg-h.t6 { font-size: 16vw; }
  .pg-h.t8 { font-size: 13.4vw; }
  .sv-all { gap: 84px; }
  .sv, .sd-sec { grid-template-columns: 1fr; gap: 18px; }
  .sv-side, .sd-side { position: static; }
  .sv-covers { display: flex; flex-wrap: wrap; gap: 4px 16px; }
  .sv-h { font-size: 11.4vw; }
  .sv-main .lede-s { margin-top: 20px; }
  .sv-ex { grid-template-columns: 1fr 1fr; gap: 26px 12px; margin-top: 34px; }
  .sv-ex.wide { grid-template-columns: 1fr; }
  .mo { grid-template-columns: 1fr; gap: 64px; }
  .mo-film { grid-template-columns: 1fr; gap: 20px; }
  .mo-v { width: 66vw; }
  .sd { gap: 70px; margin-top: 70px; }
  .sd-teams a { grid-template-columns: 1fr auto; gap: 10px 14px; padding: 18px 0; }
  .sd-tn { grid-column: 1 / -1; font-size: 8vw; }
  .sd-look { grid-column: 1 / -1; }
  .sd-thumbs { justify-content: flex-start; }
  .sd-thumbs img { width: 40px; }
  .sd-facts > div { grid-template-columns: 112px 1fr; }
  .pg-title, .wx-team, .lg { grid-template-columns: 1fr; gap: 16px; }
  .pg-title { padding: 40px var(--pad) 50px; }
  .pg-h, .pg-title .lede-s, .pg-title .acts { grid-column: 1; }
  .pg-h { font-size: 23vw; }
  .wx { gap: 70px; }
  .wx-h, .lg-side { position: static; }
  .wx-h .body { max-width: none; }
  .wx-grid { grid-template-columns: 1fr; gap: 44px; margin-top: 14px; }
  .card-t { font-size: 9vw; }
  .page .contact { margin-top: 80px; }
  .page-contact .con { min-height: 0; }
  /* a story on a phone: the piece stays at the top of the screen while its notes pass under it */
  .story .band { grid-template-columns: 1fr auto; }
  .story .band span:nth-child(2) { display: none; }
  .st { display: block; padding: 0 var(--pad); }
  .st-head { padding-top: 40px; }
  .st-h { font-size: 12.4vw; margin: 16px 0 22px; }
  .st-facts { margin-top: 30px; }
  .st-facts > div { grid-template-columns: 112px 1fr; }
  .st-art { position: sticky; top: 0; z-index: 3; height: auto; display: block; margin: 44px calc(var(--pad) * -1) 0; padding: 62px 0 18px; background: linear-gradient(180deg, var(--ground) 0, var(--ground) 92%, rgba(10, 11, 10, 0)); }
  .st-frame { height: auto; width: min(64vw, 37svh); margin: 0 auto; box-shadow: 0 14px 30px rgba(0, 0, 0, .5), 0 0 0 1px rgba(235, 230, 218, .06); }
  .st-notes { padding-top: 26px; }
  .st-credits { min-height: 0; }   /* on a phone the picture is held until the notes have passed under it */
  .note { padding: 22px 0 34px; }
  .note .body { font-size: 17px; }
  .st-next { grid-template-columns: 1fr; margin-top: 80px; }
  .st-next-t { font-size: 11vw; max-width: calc(100% - 96px); }
  .st-next-a img { width: 78px; }
  .st-next .lnk { justify-self: start; margin-bottom: 0; }
  .lg { padding-top: 40px; }
  .lg-tabs { grid-auto-flow: column; gap: 18px; margin-top: 18px; }
}
