/* Sing across eleven decades — Figma "curatorial hook" (node 1313:989),
   1999×720, navy. Absolute layout at EXACT Figma coords scaled by --px inside a
   1999-wide centred frame. */
.sfe {
  position: relative;
  height: calc(713.7 * var(--px));   /* 720 - 6.3 (section-spacing standard) */
  background: #253b5b;
  overflow: hidden;
  color: #fff;
}
.sfe__frame {
  /* top shifted so the first text sits 65px from the section top (standard). */
  position: absolute; left: 50%; top: calc(-6.3 * var(--px)); transform: translateX(-50%);
  width: calc(1999 * var(--px)); height: 100%;
}
.sfe__frame > * {
  position: absolute;
  left: calc(var(--x) * var(--px));
  top:  calc(var(--y) * var(--px));
  margin: 0;
}

/* ---- title + intro ---- */
.sfe__title {
  transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 600;
  font-size: calc(60 * var(--px)); letter-spacing: calc(0.6 * var(--px));
  white-space: nowrap;
}
.sfe__intro {
  transform: translateX(-50%);
  width: calc(var(--w) * var(--px)); text-align: center;
  font-family: var(--font-sans); font-weight: 400;
  font-size: calc(17.669 * var(--px)); line-height: 1.35;
}
.sfe__intro strong { font-weight: 700; }
/* thin white rule between title and intro (Figma "Line 35", 1px white, 559 wide) */
.sfe__rule {
  width: calc(var(--w) * var(--px));
  height: max(1px, calc(1 * var(--px)));
  background: #fff;
}

/* ---- timeline: decades + dotted line + artist names ---- */
.sfe__decade {
  transform: translate(-50%, -50%);
  font-family: "Inter Tight", var(--font-ui); font-weight: 700;
  font-size: calc(29.727 * var(--px)); white-space: nowrap;
}
.sfe__line { width: calc(var(--w) * var(--px)); height: calc(var(--h) * var(--px)); }
.sfe__line img { width: 100%; height: 100%; display: block; }

.sfe__artists {
  display: flex; align-items: center;
  gap: calc(3.078 * var(--px));
  font-family: var(--font-sans); font-weight: 400;
  font-size: calc(14.007 * var(--px)); text-align: center; white-space: nowrap;
}
.sfe__artists > span { flex: 0 0 auto; }
.sfe__aw { width: calc(var(--aw) * var(--px)); }

/* ---- collage cut-outs (bottom band) ---- */
.sfe__cut {
  width: calc(var(--w) * var(--px));
  height: calc(var(--h) * var(--px));
  object-fit: cover;
}
.sfe__cut--bottom { object-position: bottom; }

/* ---- MOBILE "Sing across eleven decades" (Figma "curatorial hook" 1313:173,
   421×713). Same navy, but the timeline runs VERTICALLY: a white line down the
   middle, magenta dots on it, decades alternating either side, artist names
   scattered around, and the same cut-out collage along the bottom edge. The
   desktop .sfe is hidden below 600 so it doesn't show twice. ---- */
.sfe-m { display: none; }

@media (max-width: 600px) {
  .sfe { display: none; }

  .sfe-m {
    display: block; position: relative;
    height: calc(713 * var(--mpx));
    background: #253b5b;
    overflow: hidden; color: #fff;
  }
  .sfe-m__frame {
    position: absolute; left: 50%; top: 0; transform: translateX(-50%);
    width: calc(421 * var(--mpx)); height: 100%;
  }
  .sfe-m__frame > * {
    position: absolute;
    left: calc(var(--x) * var(--mpx));
    top:  calc(var(--y) * var(--mpx));
    margin: 0;
  }

  /* header — both blocks are centred on --x, so only the x axis is translated */
  .sm__title {
    transform: translateX(-50%);
    width: calc(var(--w) * var(--mpx));
    font-family: var(--font-display); font-weight: 700;
    font-size: calc(32 * var(--mpx)); line-height: 1.1; text-align: center;
  }
  .sm__intro {
    transform: translateX(-50%);
    width: calc(var(--w) * var(--mpx));
    font-family: var(--font-sans); font-weight: 400;
    font-size: calc(12.368 * var(--mpx)); line-height: 1.5; text-align: center;
  }
  .sm__intro strong { font-weight: 700; }

  /* timeline: white line + magenta dots (Figma fill #b722f2, white hairline) */
  .sm__line {
    transform: translateX(-50%);
    width: calc(1.205 * var(--mpx));
    height: calc(var(--h) * var(--mpx));
    background: #fff;
  }
  .sm__dot {
    transform: translate(-50%, -50%);
    width: calc(8 * var(--mpx)); height: calc(7.5 * var(--mpx));
    border-radius: 50%;
    background: #b722f2;
    border: max(0.5px, calc(0.655 * var(--mpx))) solid #fff;
  }

  /* labels — positioned by their CENTRE, like Figma */
  .sm__decade {
    transform: translate(-50%, -50%);
    font-family: "Inter Tight", var(--font-ui); font-weight: 700;
    font-size: calc(16.063 * var(--mpx)); white-space: nowrap;
  }
  .sm__artist {
    transform: translate(-50%, -50%);
    font-family: var(--font-sans); font-weight: 400;
    font-size: calc(7.481 * var(--mpx)); white-space: nowrap;
  }

  /* bottom collage — same photos as desktop at half scale */
  .sm__cut {
    width:  calc(var(--w) * var(--mpx));
    height: calc(var(--h) * var(--mpx));
    object-fit: cover;
  }
  .sm__cut--bottom { object-position: bottom; }
}
