/* The Piece. Paper, ink, one signal red, Archivo. */

:root {
  --ink: #111110;
  --paper: #fcfcfa;
  --graphite: #6e6e68;
  --hair: #e2e2dc;
  --signal: #c8341c;
  --max: 70rem;
  --mark: clamp(9rem, 34vw, 17.5rem);
  --section: clamp(3.5rem, 8vw, 7.5rem);
  color-scheme: light;
}

@font-face {
  font-family: Archivo;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Archivo Narrow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/archivo-narrow-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial");
  ascent-override: 87.8%;
  descent-override: 21%;
  line-gap-override: 0%;
  size-adjust: 105%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Archivo, "Archivo Fallback", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

::selection {
  background: var(--hair);
  color: var(--ink);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1.5rem;
  top: 0.75rem;
  z-index: 2;
  padding: 0.65rem 0.75rem;
  background: var(--paper);
  transform: translateY(-160%);
}

.skip:focus {
  transform: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wrap {
  width: min(var(--max), calc(100% - 1.5rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  min-height: 4.5rem;
  padding-block: 1.1rem;
}

.lockup {
  display: flex;
  align-items: baseline;
  gap: 0.18em;
  margin: 0;
  color: var(--ink);
  min-width: 0;
  font-size: clamp(1.375rem, 0.35vw + 1.25rem, 1.75rem);
  line-height: 1;
}

.wordmark {
  margin: 0;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: -0.03em;
  line-height: 1;
}

.mark-sm {
  width: 0.85em;
  height: 0.85em;
  flex: none;
  position: relative;
  top: 0.08em;
  color: var(--ink);
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.25rem 0.1rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

a {
  color: var(--signal);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--signal);
}

a:hover {
  text-decoration-thickness: 2px;
}

.hero {
  padding-bottom: 0.5rem;
}

.hero-copy {
  padding-top: clamp(2rem, 5vw, 4.25rem);
}

.kicker {
  margin: 0 0 1.05rem;
  color: var(--graphite);
  font-family: "Archivo Narrow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

h1 {
  margin: 0;
  max-width: 100%;
  font-weight: 900;
  font-size: clamp(1.15rem, 8.4vw, 2.3rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

h1:focus,
h1:focus-visible {
  outline: none;
}

h1 .line {
  display: block;
  text-wrap: pretty;
}

h1 .line + .line {
  margin-top: 0.14em;
}

.keep {
  white-space: nowrap;
}

@media (max-width: 279px) {
  .keep {
    white-space: normal;
  }
}

.lede {
  max-width: 42rem;
  margin: 1.6rem 0 0;
  font-size: clamp(1.0625rem, 0.25vw + 1rem, 1.125rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.cta {
  margin: 1.15rem 0 0;
}

.cta a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}

.stage {
  position: relative;
  margin-top: clamp(3.25rem, 8vw, 7rem);
}

.horizon {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 8px;
  top: calc(var(--mark) * 0.8829 - 3px);
  color: var(--ink);
}

.stage-mark {
  position: relative;
  height: var(--mark);
}

.mark {
  display: block;
  width: var(--mark);
  height: var(--mark);
  color: var(--ink);
}

.block {
  padding-top: var(--section);
}

.rule {
  display: block;
  width: 100%;
  height: 8px;
  margin: 0 0 clamp(1.6rem, 3vw, 2.35rem);
  color: var(--ink);
}

h2 {
  margin: 0 0 1.15rem;
  max-width: 16em;
  font-weight: 800;
  font-size: clamp(1.25rem, 1rem + 1.7vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.fit {
  max-width: 46rem;
  margin: 0 0 2.25rem;
  font-size: clamp(1.125rem, 0.35vw + 1rem, 1.3125rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-wrap: pretty;
}

.areas {
  list-style: none;
  margin: 0;
  padding: 0;
}

.areas li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem 3.5rem;
  align-items: baseline;
  padding: 1.45rem 0;
  border-top: 1px solid var(--hair);
}

.areas li:last-child {
  border-bottom: 1px solid var(--hair);
}

.areas h3 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.2rem, 0.4vw + 1.1rem, 1.45rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.areas p {
  margin: 0;
  max-width: 42ch;
  font-size: 1.0625rem;
  line-height: 1.55;
}

.prose {
  max-width: 54ch;
}

.prose p {
  margin: 0 0 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.qualifier {
  margin-top: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.background-intro {
  max-width: 36rem;
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.55;
}

.life {
  display: grid;
  gap: 1.35rem;
  width: min(100%, 27.5rem);
  margin: 0 0 2.25rem;
  justify-content: start;
}

.life-row {
  display: contents;
}

.life figure {
  margin: 0;
  min-width: 0;
}

.life img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Wave source is 4:5. The frame keeps the can, the hand, and the outdoor ground. */
.life-wave img {
  aspect-ratio: 4 / 5;
  object-position: center;
}

/* Picnic source is 440×500. The frame matches that ratio and never grows past it. */
.life-picnic img {
  aspect-ratio: 440 / 500;
  object-position: center;
}

/* Pour is cropped to the hand, bottle, and stream. The source’s empty left field stays out. */
.life-pour img {
  aspect-ratio: 544 / 500;
  object-position: right center;
}

/* Jyve stays in its wide store frame. The worker is not identified. */
.life-jyve img {
  aspect-ratio: 1800 / 945;
  object-position: 32% center;
}

.life-table img {
  aspect-ratio: 5 / 3;
  object-position: center 55%;
}

.life figcaption {
  margin-top: 0.65rem;
}

.bg-name {
  display: block;
  font-weight: 700;
  font-size: clamp(1.05rem, 0.3vw + 1rem, 1.25rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.bg-role {
  display: block;
  margin-top: 0.2rem;
  color: var(--graphite);
  font-family: "Archivo Narrow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.roster {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hair);
}

.roster li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hair);
}

.contact-lines {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
}

.contact-lines a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.contact-lines .email {
  font-size: min(1.75rem, max(1rem, 7.2vw));
}

.contact-lines .phone {
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0;
}

.site-footer {
  padding-top: var(--section);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.signature {
  display: block;
  width: min(11.25rem, 52%);
  height: auto;
  margin: 0.15rem 0 0.95rem;
}

.colophon {
  margin: 0;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
}

.missing {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: 1rem;
}

.missing p {
  max-width: 36ch;
  margin: 0 0 1rem;
}

.missing a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 700;
}

@media (min-width: 280px) {
  .wrap {
    width: min(var(--max), calc(100% - 3rem));
  }
}

@media (min-width: 320px) {
  h1 {
    font-size: clamp(2.3rem, 10.5vw - 0.15rem, 2.75rem);
  }

  h2 {
    font-size: clamp(1.75rem, 1rem + 1.7vw, 2.5rem);
  }
}

@media (min-width: 720px) {
  h1 {
    font-size: clamp(2.5rem, (100vw - 6rem) / 15.2, 4.75rem);
  }

  .wrap {
    width: min(var(--max), calc(100% - 6rem));
  }

  .areas li {
    grid-template-columns: minmax(15.5rem, 18rem) minmax(0, 36rem);
    padding: 1.85rem 0;
  }

  .life {
    width: min(100%, 53.5rem);
    gap: 1.5rem;
  }

  .life-row {
    display: grid;
    column-gap: 1rem;
    align-items: start;
  }

  .life-portraits {
    grid-template-columns: 400fr 440fr;
  }

  .life-action {
    grid-template-columns: 1.088fr 1.905fr;
  }

  .life-table img {
    aspect-ratio: 1440 / 665;
    object-position: center;
  }

  .roster {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2.5rem;
    border-top: none;
  }

  .roster li:nth-child(-n + 3) {
    border-top: 1px solid var(--hair);
  }
}

@media print {
  body {
    background: #fff;
  }

  .skip {
    display: none;
  }

  a {
    color: var(--ink);
    text-decoration-color: var(--ink);
  }
}
