/* ==========================================================================
   Self — Info page  (Figma "Studio", 1728px frame; the dock calls it Info)
   Laid out like the other pages: every desktop size is N * var(--u), with --u = 1/1728 of the window width, and below 800px the mobile
   adaptation takes over (the file has no mobile frame for this page).

   The page is a photograph (1728 x 1559) with a note laid over it, white on the picture, then the Mates block on white. The note is set to "Fixed (stay in
   place)" in the design: it holds its place on the screen while the picture scrolls by behind it. The Mates block is the one of the Tech page
   (.t-crew, tech.css / tech.js); only its ground and its type colour change.
   ========================================================================== */

.view--info { background: #fff; color: #000; }
body[data-view="info"] { background: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.s-main { position: relative; display: block; overflow-x: clip; }

/* ---------- The photograph and the note ---------- */
.s-hero { position: relative; height: calc(1559 * var(--u)); }
.s-hero__pic {
  position: absolute; inset: 0; display: block; overflow: hidden;
  background: #727272 url(data:image/webp;base64,UklGRvgAAABXRUJQVlA4IOwAAAAQBgCdASocABkAPrVOo0unJCMhqAqo4BaJZQC2yYzkW3gCJqT39PkJ2HBBsKz31U1xAyS/AXc/tgAA+NjeV5Qb3knzIpnoLqECtV6ovDejsj2+kECAlMkvvlY6vrm4lNCeKtqTI7+rhaVg+v1zCTHkTqGCtqxk9PAskh2UFjQWCW73hSmYSb7FDt52vPxe5rjyrA6T0++vWaSvRhD+N1gTenyi9m0+80+GMvRjt2hJ5ODrRbyQthuByDW3WozzYbn1v2QF3ynbOKfCaQJ+DisQmwg/UGXkVZa42eA9HarmPrF01K1Wrnct1dYAAA==) center / cover no-repeat;      /* a 28 px blur of the picture shows until the picture itself has arrived */
}
.s-hero__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

/* The note holds its place on the screen while the picture scrolls past it ("Fixed (stay in place)" in the design). It is done the way the caption of the Tech
   page's big picture is (.t-rail): a sticky frame at the top of the picture, 620 high with the note standing on its floor, pins to the top of the window at once and
   stays there as long as there is picture behind it, then leaves with the picture's bottom edge. (The note is white: it must never meet the white of the Mates block
   below. The 45 under the note keep its last line off the picture's edge while the two leave together.) */
.s-pin {
  position: sticky; top: 0; z-index: 1; box-sizing: border-box;
  height: auto; min-height: calc((620 + 45) * var(--u)); padding-top: 64px; padding-bottom: calc(45 * var(--u));
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  pointer-events: none;
}
/* the note: 461 wide, centred, a line of caption, 45 of air, the text, a blank line, the sign-off (Relative Mono 14 / 17, tracking .03em, white).
   Its bottom edge is 620 down (which puts the caption at the design's 388 at the full 1728). The width follows --u down to 360px and the type keeps its 14,
   so under about 1350px the note stays 360 wide and has more lines; the frame then grows with it (min-height, not height; 64 of air above for the bar) and the
   note is never cut off at the top of the window. */
.s-note {
  flex: none; width: max(calc(461 * var(--u)), 360px); pointer-events: auto;
  display: flex; flex-direction: column; align-items: center; gap: calc(45 * var(--u));
  text-align: center; color: #fff; line-height: 1.214;
  text-shadow: 0 0 .9em rgba(0, 0, 0, .34), 0 0 .12em rgba(0, 0, 0, .22);                    /* the wall behind the first lines is almost white: a whisper of shadow keeps them readable */
  word-break: break-word; text-wrap: pretty;
}
.s-note p { width: 100%; }
.s-note__text p + p { margin-top: 1.214em; }

/* ---------- Mates ---------- */
.s-mates { margin-top: calc(75 * var(--u)); padding: 0 calc(39 * var(--u)) calc(150 * var(--u)); }       /* the container starts 75 under the photograph, 39 from the sides */
.view--info .t-crew__row { color: #000; }                                                          /* the design's white type in "difference" over white */
.view--info .t-crew__row:focus-visible { outline-color: rgba(0, 0, 0, .6); }

/* ---------- Footer (the other pages', on white) ---------- */
.view--info .footer { background: #fff; padding-top: calc(60 * var(--u)); overflow: hidden; overflow: clip; }

/* ==========================================================================
   Mobile (<= 800px): the photograph is cropped to the two of us (a narrower file, see the <picture>)
   ========================================================================== */
@media (max-width: 800px) {
  .s-hero { height: auto; }
  .s-pin { position: static; height: auto; min-height: 0; padding: 0; display: block; pointer-events: auto; }          /* nothing to pin: the note is a caption under the picture */
  .s-hero__pic { position: relative; inset: auto; aspect-ratio: 780 / 1031; max-height: 88svh; background-image: url(data:image/webp;base64,UklGRvgAAABXRUJQVlA4IOwAAAAwBgCdASoWAB0APrVOo0unJCMhqAqo4BaJYwCdIVy1AKoYLeGixBq0TIPRQ5DcNjyrivo8Nr2QHEOYAPzV0FRG1+V1OeUZnye9m803DKCtltV2x6bNA+npP7nfVBFZMCMg0pmy9/YdJYLHFY9jfYbuNs7N8eLq2xOaelsaepP0m7Bknj19wC6baPpQndGb1Ai0llwgBVXsp6+c3VQi+I/X+4NdkZO7ktBHPKFXB9aKqJ19CahpII22Eyf4Pm4b2q1PFhSCHwp9/SmydLN1AfkkjbP5UNKK6Z9Y+uPZNirwxudV8ywf2F+L6AAAAA==); }
  .s-hero__img { object-position: 50% 30%; }
  .s-note { width: auto; max-width: none; margin: 0 auto; padding: 28px 22px 0; gap: 24px; color: #000; text-shadow: none; }
  .s-note__cap { font-size: 12px; }
  .s-mates { margin-top: 56px; padding: 0 20px 72px; }
  .view--info .footer { padding-top: 0; margin-top: 0; }
}
