/* Home below the first screen (direction B §4.3): the music world, the sheet (business, network), the close, the footer.
   Rise and crest (§5.1) are one component here: .rise / .rise__in / .rise-crest under any .is-on parent. */

/* ───────── Rise and crest: a window rises, its child counter-moves, its crest rides the top edge ───────── */
.rise,
.rise__in,
.rise-crest,
.fig__rise,
.fig__rise-in {
  transition: transform var(--fall) var(--ease-fall);
}
.rise {
  position: absolute;
  inset: 0;
  overflow: clip;
  transform: translateY(100%);
}
.rise__in {
  position: absolute;
  inset: 0;
  transform: translateY(-100%);
}
.rise-crest {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  transform: translateY(100%);
}
.rise-crest .string {
  opacity: 1;
  transition: opacity var(--micro) linear;
}
.is-on > .film__media .rise,
.is-on > .film__media .rise__in,
.is-on > .film__media .rise-crest,
.fig.is-on .fig__rise,
.fig.is-on .fig__rise-in {
  transform: none;
  transition: transform var(--rise-music) var(--ease-swell);
}
.is-on > .film__media .rise-crest .string {
  opacity: 0;
  transition: opacity 200ms linear var(--rise-music);
}
.frame.is-on > .film__media .rise,
.frame.is-on > .film__media .rise__in,
.frame.is-on > .film__media .rise-crest {
  transition: transform var(--rise-biz) var(--ease-tick);
}
.frame.is-on > .film__media .rise-crest .string {
  transition-delay: var(--rise-biz);
}
.film__loop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50%) 50%;
  background: var(--night);
}

/* ───────── World heads ───────── */
.world {
  position: relative;
}
.world__head {
  padding: 0 var(--frame);
}
.world__label {
  margin: 0 0 20px;
  color: var(--vermilion);
}
.world__h2 {
  margin: 0;
  text-wrap: balance;
}
.world__line {
  margin: 24px 0 0;
  max-width: 36em;
  font-size: 18px;
  line-height: 1.55;
  color: var(--night-muted);
}

/* ───────── A. Music world ───────── */
.world--music {
  padding: 96px 0 80px;
}
.world--music .world__h2 {
  font-size: clamp(42px, 11.4vw, 124px);
  max-width: 11em;
}
@media (min-width: 1024px) {
  .world--music {
    padding: 160px 0 120px;
  }
  .world--music .world__h2 {
    font-size: clamp(88px, 8.4vw, 120px);
    max-width: 9.8em;
  }
  .world--music .world__line {
    max-width: 34em;
  }
}

/* The desk: four channels. Desktop four equal strips with 2 px gutters; phone a snap row. */
.films.desk {
  display: flex;
  gap: 2px;
  margin-top: 56px;
  padding: 0 var(--margin);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--margin);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.films.desk::-webkit-scrollbar {
  display: none;
}
.film {
  position: relative;
}
.strip {
  flex: 0 0 min(72vw, 300px);
  aspect-ratio: 7 / 10;
  overflow: clip;
  scroll-snap-align: center;
  background: var(--night);
  isolation: isolate;
  cursor: pointer;
}
.film__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.strip__real,
.strip__silent {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos) 50%;
}
.strip__real {
  z-index: 0;
}
.strip__silent {
  display: none;
  z-index: 1;
  transition: opacity calc(var(--rise-music) * 0.4) linear calc(var(--rise-music) * 0.6);
}
.js .strip__real {
  display: none;
}
.js .strip__silent {
  display: block;
}
.strip.is-on .strip__silent {
  opacity: 0;
}
.strip::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(11, 10, 10, 0.55) 0,
    transparent 28%,
    transparent 48%,
    rgba(11, 10, 10, 0.88) 100%
  );
}
.strip__credit {
  --tab-bg: transparent;
  --tab-fg: var(--night-ink);
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 16px;
  height: auto;
  max-width: calc(100% - 64px);
  padding: 0;
  justify-content: flex-start;
  white-space: normal;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 12px rgba(11, 10, 10, 0.85);
  font-size: 11px;
  line-height: 1.25;
  font-variation-settings:
    'wdth' 100,
    'wght' 700;
}
.strip__no {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 16px;
  margin: 0;
}
.strip__title {
  position: absolute;
  z-index: 4;
  left: 16px;
  bottom: 18px;
  margin: -0.18em 0;
  max-width: calc(100% - 92px);
  font-size: 22px;
  color: var(--night-muted);
  transition: color 200ms linear;
  text-wrap: balance;
}
.strip.is-on .strip__title {
  color: var(--night-ink);
}
.strip__play,
.frame__play {
  position: absolute;
  z-index: 4;
  right: 14px;
  bottom: 14px;
  --hh: 48px;
  margin: 0;
}

@media (min-width: 1024px) {
  .films.desk {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
    margin-top: 72px;
  }
  .strip {
    flex: none;
    aspect-ratio: 322 / 480;
  }
  .strip__title {
    font-size: 28px;
    left: 20px;
    bottom: 22px;
    max-width: calc(100% - 100px);
  }
  .strip__credit {
    font-size: 12px;
    max-width: calc(100% - 32px);
  }
}

/* The open film: it grows where it sits (js/films.js FLIP) */
.film.is-open {
  z-index: 60;
  cursor: auto;
}
.films .film.is-open {
  flex: none;
  width: 100%;
  aspect-ratio: 16 / 9;
}
@media (min-width: 1024px) {
  .films .film.is-open {
    grid-column: 1 / -1;
    order: -1;
  }
}
.film.is-open .strip__title,
.film.is-open .strip__credit,
.film.is-open .strip__no,
.film.is-open .strip__play,
.film.is-open .frame__credit,
.film.is-open .frame__play,
.film.is-open .stage__credit,
.film.is-open::after {
  display: none;
}
/* Holds the open film's snap point, so the mandatory row does not re-snap to the next tile while the film is away. */
.film-slot {
  flex: none;
  scroll-snap-align: center;
}
.world--music > .film.is-open {
  margin: 2px var(--margin) 0;
  width: auto;
}
@media (max-width: 1023.98px) {
  .world--music > .film.is-open {
    margin: 2px 0 0;
  }
}

/* The lineup (js/lineup.js): artists stand on floor lines in two rows and the lit one rises from its contour. The stage is the two rows mirrored about the
   seam between them. From each outer edge inward a row reads name, role line, floor line, photos: the top row's photos hang from their floor line, upright, and the
   bottom row's stand on theirs, so the photos of both rows meet at the seam. The rows slide in opposite directions on the one progress of the run (the top row to the
   left, the bottom row to the right) and each fills the screen at both ends; the artist whose place in the run it is, is lit (js/lineup.js). The run starts when the stage's
   bottom edge (the bottom row's names) reaches the bottom of the screen; the stage then comes to the middle of the screen and holds there while both rows keep
   running (--hold, set by js/lineup.js: each step from one artist to the next takes at least a dwell of scroll and at most --pace sideways px per px of scroll), is released, and the run
   ends when the stage's top edge (the top row's names) reaches the top of the screen. The stage is the one height --S: the screen less a header band above and
   below, so it is whole while it holds; --H is a figure's height and fits that, and --Wmax the width a figure may have so that it and the step it makes while
   lit stay between the margins. A figure's slot is --lap of its width and never less than a name's, and the figure is centred on its slot, so the contours overlap
   as a band stands and no two names do. --lap sets how far the rows travel: less on wide and on narrow screens, whole slots on short ones. On a phone the stage also holds the section's heading above (the hub's) and its foot below (home's count line), which js/lineup.js seats in it (--extra is their height), so the screen is filled while it holds. Without script, and under reduced motion (.is-still), nothing is held and each row is a native sideways scroller. */
.lineup {
  --N: 64px;
  --G: 16px;
  --P: 24px;
  --slot-min: 160px;
  --lap: .5;
  --pace: 1;
  --hold: 0px;
  --extra: 0px;
  --rise-fig: 200ms;
  --fall-fig: 100ms;
  --room: calc(100vw - 2 * var(--margin));
  --Wmax: min(calc(var(--room) * 1.2 / (1.2 + var(--lap))), calc(var(--room) - var(--slot-min) / 1.2));
  --H: clamp(
    96px,
    min(
      calc((100svh - 2 * var(--hdr) - 2 * var(--N) - var(--G) - 2 * var(--P) - var(--extra)) / 2),
      calc(var(--Wmax) / 1.25)
    ),
    520px
  );
  --S: calc(2 * (var(--H) + var(--N)) + var(--G) + 2 * var(--P) + var(--extra));
  position: relative;
  margin-top: 88px;
  height: calc(var(--S) + var(--hold));
  overflow: clip;
}
@media (min-width: 1024px) {
  .lineup {
    margin-top: 120px;
  }
}
@media (min-width: 1700px) {
  .lineup {
    --lap: .4;
  }
}
@media (max-width: 1023.98px) {
  .lineup {
    --lap: .3;
  }
}
@media (max-height: 700px) {
  .lineup {
    --lap: 1;
  }
}
@media (max-height: 700px), (max-width: 639.98px) {
  .lineup {
    --N: 54px;
    --G: 12px;
    --P: 16px;
    --slot-min: 140px;
  }
}
.lineup.is-still,
html:not(.js) .lineup {
  height: auto;
}
.lineup__stage {
  position: sticky;
  top: max(0px, calc((100svh - var(--S)) / 2));
  display: flex;
  flex-direction: column;
  gap: var(--G);
  padding-block: var(--P);
}
.lineup.is-still .lineup__stage,
html:not(.js) .lineup__stage {
  position: static;
}
.js .lineup:not(.is-still) .lineup__stage {
  overflow-x: clip;
}
.lineup__row {
  position: relative;
  flex: none;
  height: calc(var(--H) + var(--N));
  overflow-x: auto;
  scrollbar-width: none;
}
/* the figures that slide past the screen's edges dissolve over the margin; a label shows only while whole between the margins (js/lineup.js) */
.js .lineup:not(.is-still) .lineup__row {
  mask-image:
    linear-gradient(#000, #000),
    linear-gradient(90deg, transparent, #000 var(--margin), #000 calc(100% - var(--margin)), transparent);
  mask-repeat: no-repeat;
}
.js .lineup:not(.is-still) .lineup__row[data-side='left'] {
  mask-size:
    100% var(--N),
    100% calc(100% - var(--N));
  mask-position:
    0 0,
    0 100%;
}
.js .lineup:not(.is-still) .lineup__row[data-side='right'] {
  mask-size:
    100% var(--N),
    100% calc(100% - var(--N));
  mask-position:
    0 100%,
    0 0;
}
.js .lineup:not(.is-still) .fig:not(.is-whole) :is(.fig__name, .fig__role) {
  opacity: 0;
}
.js .lineup:not(.is-still) :is(.fig__name, .fig__role) {
  transition:
    opacity 160ms linear,
    color 200ms linear;
}
.lineup__row::-webkit-scrollbar {
  display: none;
}
.js .lineup:not(.is-still) .lineup__row {
  overflow: visible;
}
.lineup__run {
  position: relative;
  display: block;
  width: max-content;
  padding: 0 var(--margin);
}
.js .lineup:not(.is-still) .lineup__run {
  will-change: transform;
}
.lineup.is-still .lineup__run {
  transform: none !important;
}
.lineup__track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.js .lineup:not(.is-still) .lineup__row[data-side='right'] .lineup__track {
  flex-direction: row-reverse;
}
.fig {
  --h: min(var(--H, 240px), calc(var(--Wmax, 100vw) / var(--ar)));
  --W: calc(var(--h) * var(--ar));
  --slot: max(calc(var(--W) * var(--lap, 1)), var(--slot-min, 0px));
  --over: max(0px, calc((var(--W) - var(--slot)) / 2));
  position: relative;
  z-index: 1;
  flex: none;
  display: flex;
  flex-direction: column;
  width: var(--slot);
  height: calc(var(--H, 240px) + var(--N, 0px));
}
.lineup__track > .fig:first-child {
  margin-left: var(--over);
}
.lineup__track > .fig:last-child {
  margin-right: var(--over);
}
.js .lineup:not(.is-still) .lineup__row[data-side='right'] .fig:first-child {
  margin: 0 var(--over) 0 0;
}
.js .lineup:not(.is-still) .lineup__row[data-side='right'] .fig:last-child {
  margin: 0 0 0 var(--over);
}
.fig:focus-visible {
  outline: 2px solid var(--night-ink);
  outline-offset: -2px;
}
.fig.is-on {
  z-index: 3;
}
.lineup__row.is-quick .fig :is(.fig__rise, .fig__rise-in, .fig__line, .fig__spot) {
  transition: none;
}
.fig.is-on .fig__rise,
.fig.is-on .fig__rise-in {
  transition-duration: var(--rise-fig, var(--rise-music));
}
/* the photo of the figure that goes dark fades out where it stands, and only then drops back under its floor */
.fig:not(.is-on) .fig__rise {
  opacity: 0;
  transition:
    opacity var(--fall-fig, var(--fall)) linear,
    transform 0s linear var(--fall-fig, var(--fall));
}
.fig:not(.is-on) .fig__rise-in {
  transition: transform 0s linear var(--fall-fig, var(--fall));
}
.fig__stage {
  position: relative;
  flex: none;
  height: var(--H, 240px);
}
.fig__line,
.fig__spot,
.fig__rise {
  position: absolute;
  left: calc((var(--slot) - var(--W)) / 2);
  bottom: 0;
  width: var(--W);
  height: var(--h);
  max-width: none;
}
.fig__line {
  z-index: 1;
  transition: opacity calc(var(--rise-fig, var(--rise-music)) * 0.4) linear
    calc(var(--rise-fig, var(--rise-music)) * 0.6);
}
.fig__spot {
  z-index: 0;
  opacity: 0;
  transition: opacity var(--fall-fig, var(--fall)) linear;
  background: radial-gradient(ellipse 50% 60% at 50% 70%, rgba(236, 92, 52, 0.55), transparent 70%);
}
.fig__rise {
  z-index: 2;
  overflow: hidden;
}
.fig__rise-in {
  position: absolute;
  inset: 0;
}
.fig__photo,
.fig__script {
  width: 100%;
  height: 100%;
  max-width: none;
}
/* the name is its own layer on the figure's canvas, placed clear of every head */
.fig__script {
  position: absolute;
  inset: 0;
}
.js .fig__line {
  opacity: 1;
}
.js .fig__rise {
  transform: translateY(calc(var(--sgn, 1) * 100%));
}
.js .fig__rise-in {
  transform: translateY(calc(var(--sgn, 1) * -100%));
}
.fig.is-on .fig__line {
  opacity: 0;
}
.fig.is-on .fig__spot {
  opacity: 1;
  transition-duration: var(--rise-fig, var(--rise-music));
}
.fig.is-on .fig__rise,
.fig.is-on .fig__rise-in {
  transform: none;
}
.fig:not(.is-on) .fig__line {
  transition-duration: var(--fall-fig, var(--fall));
  transition-delay: 0s;
}
html:not(.js) .fig__line {
  display: none;
}
.lineup__stage > .world__head {
  padding-bottom: calc(var(--G) * 2);
}
.fig__link {
  position: absolute;
  left: 0;
  width: var(--slot);
  height: var(--H, 240px);
  z-index: 4;
}
.fig__link:focus-visible {
  outline: 2px solid var(--night-ink);
  outline-offset: -4px;
}
.fig__name,
.fig__role {
  width: var(--slot);
  margin: 0;
  padding: 0;
  text-align: center;
  text-wrap: balance;
}
.fig__name {
  font-size: 15px;
  line-height: 18px;
  white-space: nowrap;
  color: var(--night-ink);
  transition: color 200ms linear;
}
.fig.is-on .fig__name {
  color: var(--vermilion);
}
.fig__role {
  font-size: 12px;
  line-height: 15px;
  color: var(--night-muted);
}
@media (max-height: 700px), (max-width: 639.98px) {
  .fig__name {
    font-size: 13px;
    line-height: 16px;
  }
  .fig__role {
    font-size: 10.5px;
    line-height: 13px;
  }
}
/* the floor spans the screen while the row slides under it; in a native scroller it spans the run (--run) */
.lineup__floor {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
  --crest: url(#mixfloor);
  pointer-events: none;
}
.lineup.is-still .lineup__floor {
  right: auto;
  width: var(--run);
}
html:not(.js) .lineup__floor {
  display: none;
}
/* the top row, mirrored: name, role line, then the floor line, then the figures hanging from it (--sgn turns the rise: the photo comes down out of the floor) */
.lineup__row[data-side='left'] {
  --sgn: -1;
}
.lineup__row[data-side='left'] .fig__name {
  order: 1;
}
.lineup__row[data-side='left'] .fig__role {
  order: 2;
  margin-top: 4px;
}
.lineup__row[data-side='left'] .fig__stage {
  order: 3;
  margin-top: auto;
}
.lineup__row[data-side='left'] :is(.fig__line, .fig__spot, .fig__rise) {
  top: 0;
  bottom: auto;
}
.lineup__row[data-side='left'] .fig__link {
  bottom: 0;
}
.lineup__row[data-side='left'] .lineup__floor {
  top: var(--N);
}
/* the bottom row: the figures standing on their floor, then role line, then name */
.lineup__row[data-side='right'] .fig__stage {
  margin-bottom: auto;
}
.lineup__row[data-side='right'] .fig__role {
  order: 1;
}
.lineup__row[data-side='right'] .fig__name {
  order: 2;
  margin-top: 4px;
}
.lineup__row[data-side='right'] .fig__link {
  top: 0;
}
.lineup__row[data-side='right'] .lineup__floor {
  top: var(--H);
}

.world__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 24px;
  padding: 40px var(--frame) 0;
}
.world__count {
  margin: 0;
  color: var(--night-muted);
}
.world__go {
  --hh: 48px;
}
.world__go i,
.signoff__go i {
  font-style: normal;
}

/* ───────── B. The sheet: business world, network and the close ───────── */
.tab--night {
  --tab-bg: var(--night);
  --tab-fg: var(--vermilion);
}
@media (hover: hover) {
  .tab--night:hover {
    --tab-bg: #241f21;
  }
}
.sheet {
  --case: #7A5CFF;
  position: relative;
  color: var(--sheet-ink);
}
/* The ground is a negative-z layer, not the sheet's own background: the sheet paints no stacking context, so an open film in it rises above the dim. */
.sheet::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 70% at 10% 0%, #fff 0%, transparent 65%),
    radial-gradient(ellipse 70% 60% at 100% 100%, #e6e2ee 0%, transparent 70%), var(--sheet);
}

/* ───────── The business sheet's ground: one printed field for the branch ─────────
   The music pages carry art in the ground of every screen; the business sheet carries it in print. The page's margins carry the ink down the whole height, so
   every screen is framed by the field and none falls back to paper: the deep violet column on the left, the light violet column on the right. The brand is
   printed from the top-left corner (the corner that used to read as bare paper), one light rakes the paper from the head's right, and the foot settles into
   the deep ink. The paper itself is tinted at every stop, so no screen is a pale sheet with colour in a corner. The work in view lays its own light over
   this field (day.css), so the art changes from one work to the next. Home's sheet keeps the base above. */
:is(.biz, .website) .sheet::before,
main.sheet::before {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--violet-deep) 22%, transparent) 0%, transparent 18%),
    linear-gradient(270deg, color-mix(in srgb, var(--violet) 18%, transparent) 0%, transparent 20%),
    linear-gradient(116deg, transparent 8%, rgba(255, 255, 255, 0.3) 30%, rgba(255, 255, 255, 0.1) 44%, transparent 58%),
    radial-gradient(ellipse 76% 52% at -10% -12%, color-mix(in srgb, var(--violet-deep) 44%, transparent) 0%, transparent 64%),
    radial-gradient(ellipse 62% 34% at -4% 98%, color-mix(in srgb, var(--violet-deep) 34%, transparent) 0%, transparent 70%),
    linear-gradient(168deg, #dcd1ee 0%, #e7dff4 26%, #eae3f5 50%, #e2d9f1 74%, #d3c6ea 100%);
}

/* ───────── The business reading scale ─────────
   The music case pages read at 24 px on a 34 em measure at 2056; the business branch was setting its reading text at 16 to 18 px. These are the branch's
   two reading roles: the lead is a section's main statement, the body is its supporting text and lists. A business page takes these tokens instead of a
   local size, so the hub, the case pages and the service page read at one size. Captions and labels (13 to 15 px) are not part of this scale. */
:is(.biz, .website, main.sheet) {
  --biz-lead: clamp(19px, 1.17vw, 24px);
  --biz-body: clamp(17px, 0.95vw, 20px);
  --biz-read-lh: 1.6;
}
:is(.biz, .website, main.sheet) :is(.brief__line, .head__line, .world--biz .world__line, .sw-line, .trio-line, .sp__line, .trio-lead) {
  font-size: var(--biz-lead);
  line-height: var(--biz-read-lh);
}
:is(.biz, .website, main.sheet) :is(.svc__desc, .proj__text, .site-cap .site-cap__line, .site-cap__does li, .sp__items li, .sw-idx a) {
  font-size: var(--biz-body);
  line-height: var(--biz-read-lh);
}
.sheet :focus-visible {
  outline-color: var(--violet-deep);
}
.sheet .tab--line {
  --tab-line: var(--violet-deep);
  --tab-fg: var(--violet-deep);
}
@media (hover: hover) {
  .sheet .tab--line:hover {
    --tab-line: var(--sheet-ink);
    --tab-fg: var(--sheet-ink);
  }
}
.sheet__crest {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  --crest: url(#mix);
  pointer-events: none;
}
.sheet__case {
  position: sticky;
  top: 0;
  z-index: -1;
  height: 0;
  pointer-events: none;
}
.sheet__case::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100svh;
  background:
    radial-gradient(ellipse 60% 56% at 100% 0%, color-mix(in srgb, var(--case) 46%, transparent), transparent 74%),
    radial-gradient(ellipse 56% 52% at 0% 100%, color-mix(in srgb, var(--case) 32%, transparent), transparent 74%),
    radial-gradient(ellipse 54% 50% at 0% 0%, color-mix(in srgb, var(--case) 24%, transparent), transparent 74%),
    radial-gradient(ellipse 54% 50% at 100% 100%, color-mix(in srgb, var(--case) 26%, transparent), transparent 74%);
}

.network,
.close__body {
  position: relative;
  z-index: 1;
}
.world--biz {
  position: relative;
  padding: 96px 0 0;
}
.world__head--biz {
  display: grid;
  padding: 0;
  gap: 24px;
}
.world--biz .world__label {
  margin: 0;
  color: var(--violet-deep);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: none;
  font-variation-settings:
    'wdth' 100,
    'wght' 650;
}
.world--biz .world__h2 {
  font-size: clamp(36px, 10vw, 108px);
  max-width: none;
  color: var(--sheet-ink);
}
:lang(en) .world--biz .world__h2 {
  font-size: clamp(34px, 8.4vw, 88px);
}
/* TAB at display size: the word that lands sits in the logo's slanted tab */
.hl {
  display: block;
}
.hl--tab,
.hl--row > .hl--tab {
  display: table;
  max-width: 100%;
  margin-top: 0.04em;
  padding: 0.02em 0.52em 0.1em 0.2em;
  background: var(--violet-deep);
  color: var(--sheet);
  clip-path: polygon(0 0, calc(100% - 0.3em) 0, 100% 100%, 0 100%);
  text-wrap: balance;
}
.hl--row {
  display: flex;
  align-items: center;
}
.signoff__rule {
  flex: 1;
  height: 2px;
  margin: 0 calc(50% - 50vw) 0 -0.12em;
  background: linear-gradient(90deg, var(--violet-deep), var(--vermilion));
}
.world--biz .world__line {
  margin: 0;
  color: var(--sheet-ink);
  max-width: 30em;
}
@media (min-width: 1024px) {
  .world--biz {
    padding-top: 160px;
  }
  .world__head--biz {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    row-gap: 20px;
  }
  .world__head--biz .world__label,
  .world__head--biz .world__h2 {
    grid-column: 1 / span 9;
  }
  .world__head--biz .world__line {
    grid-column: 10 / -1;
    grid-row: 2;
    align-self: end;
    padding-bottom: 0.4em;
  }
}

.frame__cap {
  margin: 16px 0 0;
}
.frame__title {
  margin: 0;
  font-size: 24px;
  color: var(--sheet-ink);
}
.frame__line {
  margin: 8px 0 0;
  max-width: 46em;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(23, 18, 31, 0.72);
}
.frame__link {
  color: var(--violet-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.frame {
  position: relative;
  overflow: clip;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--violet-deep);
  background: var(--sheet-ink);
  cursor: pointer;
}
.frame__still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame__credit {
  --hh: 28px;
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 0;
  height: auto;
  min-height: var(--hh);
  max-width: calc(100% - 24px);
  padding: 6px calc(var(--s) + 12px) 6px 14px;
  white-space: normal;
  font-size: 12px;
  line-height: 1.25;
  font-variation-settings:
    'wdth' 100,
    'wght' 650;
}
.frame__credit::after {
  content: '';
  position: absolute;
  inset: var(--k);
  z-index: -1;
  background: var(--sheet);
  clip-path: polygon(0 0, calc(100% - var(--s) - var(--k) * 0.6) 0, calc(100% - var(--k) * 1.3) 100%, 0 100%);
}

.frame .rise-crest .string {
  --crest: var(--vermilion);
  opacity: 0;
}
.frame.is-on > .film__media .rise-crest .string {
  animation: crest-pass calc(var(--rise-biz) + 200ms) linear both;
}
@keyframes crest-pass {
  0%,
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.frame .film__loop {
  background: var(--sheet-ink);
}

/* The figures as tablature: six hairlines across the whole sheet, fret numerals at display size sitting on their lines, each with its unit beside it. */
.staff {
  --gap: 56px;
  --fret: 88px;
  position: relative;
  grid-column: 1 / -1;
  padding-bottom: calc(var(--fret) * 0.3);
}
.staff::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -72px calc(50% - 50vw) 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(90, 43, 194, 0.07) 45%,
    rgba(90, 43, 194, 0.02) 85%,
    transparent
  );
}
.staff__lines {
  position: relative;
  height: calc(var(--gap) * 5 + 1px);
  margin-inline: calc(50% - 50vw);
}
.staff__lines i {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--violet-deep);
  opacity: 0.7;
}
.staff__lines i:nth-child(1) {
  top: 0;
}
.staff__lines i:nth-child(2) {
  top: calc(var(--gap) * 1);
}
.staff__lines i:nth-child(3) {
  top: calc(var(--gap) * 2);
}
.staff__lines i:nth-child(4) {
  top: calc(var(--gap) * 3);
}
.staff__lines i:nth-child(5) {
  top: calc(var(--gap) * 4);
}
.staff__lines i:nth-child(6) {
  top: calc(var(--gap) * 5);
}
.staff__frets {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(var(--gap) * 5 + 1px);
}
.staff__fret {
  --ln: var(--ln-m);
  --at: var(--at-m);
  position: absolute;
  left: var(--at);
  top: calc((var(--ln) - 1) * var(--gap));
  transform: translateY(-50%);
  display: flex;
  align-items: baseline;
  gap: 0.14em;
  padding: 0 0.1em;
  font-size: var(--fret);
  line-height: 1;
  white-space: nowrap;
}
.staff__fret b {
  font-weight: 850;
  font-variation-settings:
    'wdth' 62,
    'wght' 850;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--sheet-ink);
}
.staff__unit {
  font-size: max(18px, calc(var(--fret) * 0.15));
  line-height: 1;
  color: var(--violet-deep);
  font-variation-settings:
    'wdth' 82,
    'wght' 650;
}
@media (min-width: 1024px) {
  .staff {
    --gap: calc(var(--fret) * .34);
    --fret: clamp(120px, 13.4vw, 192px);
  }
  .staff__fret {
    --ln: var(--ln-d);
    --at: var(--at-d);
  }
}
@media (max-width: 1023.98px) {
  .staff {
    --gap: 56px;
    --fret: 88px;
  }
}

.service {
  display: grid;
  gap: 56px;
  margin-top: 96px;
}
.service__head {
  display: grid;
  gap: 20px;
}
.service__h2 {
  margin: 0;
  font-size: clamp(36px, 6.4vw, 80px);
  line-height: 1.04;
  color: var(--sheet-ink);
  max-width: none;
}
.service__line {
  margin: 0;
  max-width: 30em;
  font-size: 17px;
  line-height: 1.5;
  color: var(--sheet-ink);
}
@media (min-width: 1024px) {
  .service {
    gap: 176px;
    margin-top: 160px;
  }
}

/* Client site in its frames (js/site-frames.js): the section scrolls with the page, and nothing in it is pinned. The captures hold their top until both frames
   have reached mid-screen and are fully in view; then they scroll inside the frames by --y, never faster than the page (one css px per page px). The phone
   keeps the centre of its window on the same part of the site as the desktop's, the desktop slowing where the phone would race ahead. Both stop where either capture ends. The label sits under the frames,
   never over the site's logo or menu. The two windows never overlap: side by side with a 24 px gap (16 px below 640), one height, aligned top and bottom, the
   phone 0.2885 of the desktop's width (a 77.6 / 22.4 split of the pair less the gap). --cols, --wc (the desktop's column lines) and --pc let a page put the phone on either side. */
.site {
  --gap: 24px;
  --win: calc((100% - var(--gap)) * .77612);
  --ph: calc((100% - var(--gap)) * .22388);
  --who: 2;
  --wc: 1 / 2;
  position: relative;
  display: grid;
  grid-template-columns: var(--cols, var(--win) var(--ph));
  gap: var(--gap);
  align-items: start;
}
.site__win {
  grid-column: var(--wc, 1 / 2);
  grid-row: 1;
  container-type: size;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--violet-deep);
  background: #fff;
}
.site__phone {
  grid-column: var(--pc, 2);
  grid-row: var(--pr, 1);
  container-type: size;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border: 1px solid var(--violet-deep);
  border-radius: 22px;
  background: #fff;
}
/* Below 640 the name, link and description line stand beside the phone window at its top, the string and the credit level with its base (the website
   page's .sp__who--dev). The type grows with the column and the free height is shared between the line's
   top and the string's top, so no single gap stands in the column. */
.site__who {
  display: none;
}
@media (max-width: 639.98px) {
  .site {
    --gap: 16px;
  }
  .site__who {
    grid-column: var(--who);
    grid-row: 2;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding-right: 12px;
    container-type: inline-size;
  }
  .site__who .site-cap__name {
    font-size: clamp(20px, 12cqw, 44px);
    line-height: 1.1;
  }
  .site__who .credit {
    font-size: 12px;
  }
  .site__who .site-cap__link {
    font-size: clamp(15px, calc(3cqw + 10px), 18px);
    overflow-wrap: anywhere;
  }
  .site__who .site-cap__line {
    font-size: clamp(13px, calc(8.5px + 3.2cqw), 22px);
    line-height: 1.4;
    margin-top: auto;
  }
  .site__who .edge {
    position: relative;
    inset: auto;
    margin-top: auto;
  }
}
.site__shot {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  will-change: transform;
  transform: translateY(calc(var(--y, 0px) * -1));
}

/* Stills (css/stills.css, made by make-stills.py): each picture carries a tiny still as its own background, so its frame shows a picture from the
   first layout and while the real one loads or decodes; the picture draws over it. The still is fitted and positioned as the picture is:
   keep these in step with the object-fit and object-position rules of the same selectors. */
img {
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.strip__real,
.strip__silent,
.frame__still,
.tile__media img,
.pic img,
.trio-fig__media img,
.trio-band__media img {
  background-size: cover;
  background-position: 50% 50%;
}
.strip__real,
.strip__silent,
.trio-stage .frame__still {
  background-position: var(--pos) 50%;
}
.pic--top img {
  background-position: top;
}
.trio-fig--stage img {
  background-position: 50% 38%;
}
.trio-fig--dance img {
  background-position: 50% 40%;
}
.trio-band__media img {
  background-position: 22% 50%;
}
@media (min-width: 1024px) {
  .trio-band__media img {
    background-position: 50% 30%;
  }
}

.signoff {
  position: relative;
  isolation: isolate;
  padding: 120px 0 56px;
}
.signoff::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%, #000 65%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 35%, #000 65%, transparent);
  background:
    radial-gradient(ellipse 55% 90% at 0% 100%, #fff 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 100% 10%, rgba(90, 43, 194, 0.13) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 70% 100%, rgba(236, 92, 52, 0.08) 0%, transparent 70%);
}
.signoff__h2 {
  margin: 0;
  max-width: none;
  color: var(--sheet-ink);
}
.signoff__go {
  --hh: 48px;
  margin-top: 36px;
}
@media (min-width: 1024px) {
  .signoff {
    padding: 176px 0 176px;
  }
}

/* ───────── C. Network ───────── */
.network {
  padding: 0 var(--frame) 112px;
}
.network__label {
  margin: 0 0 16px;
  color: var(--violet-deep);
}
.network__line {
  margin: 0;
  max-width: 26em;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  color: var(--sheet-ink);
  font-variation-settings:
    'wdth' 82,
    'wght' 600;
}
.network .score {
  margin-top: 56px;
}
@media (min-width: 1024px) {
  .network {
    padding-bottom: 160px;
  }
  .network .score {
    margin-top: 72px;
  }
}

/* ───────── D. Close: the music rises to full ───────── */
/* overflow: clip, not clip-path: the mass waits a full height below the section until it rises, and clip-path would leave that
   height in the page's scroll length. The 48px of padding is the room the crest swings in above the mass. */
.close {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(100svh, 820px);
  margin-top: -48px;
  padding-top: 48px;
  overflow: clip;
}
.close__mass {
  position: absolute;
  inset: 48px 0 0 0;
  z-index: 0;
  overflow: visible;
  background:
    radial-gradient(ellipse 70% 75% at 10% 100%, #f98a61 0%, transparent 70%),
    radial-gradient(ellipse 55% 70% at 100% 0%, #bd3817 0%, transparent 72%), var(--vermilion);
  will-change: transform;
  transform: translateY(calc((1 - var(--p, 1)) * 100%));
}
.close__film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 35%;
  pointer-events: none;
  filter: grayscale(1) contrast(1.2) brightness(1.25);
  mix-blend-mode: multiply;
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 22%, transparent 58%);
  mask-image: linear-gradient(180deg, #000 0%, #000 22%, transparent 58%);
}
@media (min-width: 1024px) {
  .close__film {
    -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 10%, transparent 42%);
    mask-image: linear-gradient(270deg, #000 0%, #000 10%, transparent 42%);
  }
}
.close__crest {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  --crest: url(#mix);
  transition: opacity 200ms linear;
}
.close__mass.is-done .close__crest {
  opacity: 0;
  transition-delay: 600ms;
}
.close__body {
  container-type: inline-size;
  width: 100%;
  padding: 96px var(--frame) 72px;
  color: var(--on-vermilion);
}
.close__h2 {
  margin: 0;
  max-width: 8em;
  text-wrap: balance;
  font-size: min(clamp(3rem, 12.5vw, 9rem), 100cqw / 7.3);
} /* "Cùng viết chương" is 7.17em: the two-line break always fits */
.close__go {
  --hh: 52px;
  margin-top: 40px;
}
.close__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  margin: 40px 0 0;
}
.close__contact a {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.3;
  font-variation-settings:
    'wdth' 82,
    'wght' 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}
.close :focus-visible {
  outline-color: var(--on-vermilion);
}
@media (min-width: 1024px) {
  .close__body {
    padding-block: 160px 96px;
  }
  .close__h2 {
    max-width: 9.5em;
  }
}

/* ───────── E. Footer (night): the logo, the two branches, language, address; no second contact block ───────── */
.foot {
  position: relative;
  padding: 56px var(--frame) 40px;
}
.foot__in {
  display: grid;
  gap: 28px;
}
.foot__logo img {
  height: 24px;
  width: auto;
}
.foot__nav {
  display: grid;
  gap: 4px;
}
.foot__nav .nav {
  gap: 10px;
}
.foot__addr,
.foot__copy {
  margin: 0;
  max-width: 40em;
  font-size: 14px;
  line-height: 1.5;
  color: var(--night-muted);
}
@media (min-width: 1024px) {
  .foot {
    padding-block: 80px 48px;
  }
  .foot__in {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px 48px;
  }
  .foot__nav {
    display: flex;
    gap: 32px;
    justify-self: center;
  }
  .foot__addr,
  .foot__copy {
    grid-column: 1 / -1;
  }
  .foot__addr {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rise,
  .rise__in,
  .rise-crest,
  .fig__rise,
  .fig__rise-in {
    transform: none !important;
  }
  .rise,
  .fig__rise {
    opacity: 0;
    transition: opacity 200ms linear !important;
  }
  .is-on > .film__media .rise,
  .fig.is-on .fig__rise {
    opacity: 1;
  }
  .rise-crest {
    display: none;
  }
  .strip__silent,
  .fig__line,
  .fig__spot {
    transition-duration: 200ms !important;
    transition-delay: 0s !important;
  }
}
