/* CreativLoop: The Hanging Tab. The shared styles of the look. */
@font-face {
  font-family: "Mona Sans";
  src: url("fonts/MonaSans.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: block;
}

:root {
  --ink: #0E0E11;
  --ink-2: #19191E;
  --paper: #FFFFFF;
  --mist: #E9E9EC;
  --white: #FFFFFF;
  --blue: #2B44FF;
  --mute-on-ink: #A3A3AD;
  --mute-on-paper: #5B5B64;
  --rule-on-ink: rgba(255, 255, 255, 0.14);
  --rule-on-paper: rgba(14, 14, 17, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Mona Sans", system-ui, sans-serif;
  font-weight: 450;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

/* Type roles: one family, four voices */
.wm {            /* the name */
  font-weight: 820;
  font-stretch: 100%;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}
.disp {          /* frames and covers: a few huge capital words */
  font-weight: 900;
  font-stretch: 84%;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  line-height: 0.86;
}
.head {          /* web headings: sentence case, heavy */
  font-weight: 800;
  font-stretch: 92%;
  letter-spacing: -0.022em;
  line-height: 1.02;
}
.lab {           /* labels */
  font-weight: 680;
  font-stretch: 100%;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  line-height: 1;
}
.cap {           /* captions on moving pictures */
  font-weight: 760;
  font-stretch: 96%;
  letter-spacing: -0.012em;
  line-height: 1.12;
  color: var(--white);
  text-shadow: 0 0.04em 0.18em rgba(0, 0, 0, 0.55), 0 0 0.04em rgba(0, 0, 0, 0.6);
}
.cap .hl {
  background: var(--blue);
  padding: 0.02em 0.16em 0.06em;
  margin: 0 -0.04em;
  text-shadow: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* The device: a blue tab that hangs from the top edge of the frame */
.tab {
  position: absolute;
  top: 0;
  background: var(--blue);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tab .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

/* Pictures in a fixed frame */
.ab {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.ph {
  position: absolute;
  background-repeat: no-repeat;
}
.bw { filter: grayscale(1) contrast(1.14) brightness(0.97); }

/* Quiet ground: the room is cut away and the person stands on a plain Mist
   backdrop with a soft light falloff. Built in CSS, so it stays sharp at any size. */
.seam {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse var(--sw, 62%) var(--sh, 78%) at var(--sx, 66%) var(--sy, 26%),
              #F1F1F3 0%, var(--mist) 42%, #CDCDD3 100%);
}
.cut { position: absolute; display: block; max-width: none; }
/* Fine grain over picture and ground, never over the tab, so the two read as one picture */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E");
}
