@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,300..800;1,300..800&display=swap");

:root {
  --red: #f0281c;
  --ink: #0d0d0d;
  --paper: #fff;
  --line: 1.5px;
  font-family: "Inter Tight", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }

html,
body {
  min-width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--paper);
  font-weight: 350;
  letter-spacing: -.045em;
}

a {
  color: inherit;
  text-decoration: none;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-flow: row dense;
  width: 100%;
  min-height: 100vh;
  padding-top: 38px;
  border-left: var(--line) solid var(--red);
  border-top: var(--line) solid var(--red);
  background: var(--paper);
}

.life-cell {
  position: relative;
  min-width: 0;
  min-height: clamp(150px, 16vw, 235px);
  padding: clamp(14px, 1.35vw, 22px);
  border-right: var(--line) solid var(--red);
  border-bottom: var(--line) solid var(--red);
  overflow: hidden;
}

.life-cell--identity,
.life-cell--home {
  color: var(--red);
  font-size: clamp(.9rem, 1.35vw, 1.45rem);
  line-height: .95;
}

.life-cell--identity em { font-style: italic; }

.life-cell--home {
  display: flex;
  justify-content: flex-end;
  text-transform: uppercase;
}

.life-cell--title {
  display: flex;
  align-items: flex-end;
  color: var(--red);
}

.life-cell--title-a { grid-column: span 2; }

.life-cell--title h1,
.life-cell--title p {
  margin: 0;
  font-size: clamp(2.45rem, 5.75vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: .79;
  text-transform: uppercase;
}

.life-cell--title-a h1 {
  max-width: 7ch;
  overflow-wrap: anywhere;
}

.life-cell--title-b p { white-space: nowrap; }

.life-cell--video {
  grid-column: span 2;
  grid-row: span 3;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(14px, 2.2vw, 34px);
}

.life-cell--video video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh, 980px);
  background: #fff;
  object-fit: contain;
}

.life-cell--empty-tall { min-height: clamp(220px, 26vw, 390px); }

@media (max-width: 760px) {
  .life-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 24px;
  }

  .life-cell {
    min-height: 35vw;
    padding: 12px;
  }

  .life-cell--identity,
  .life-cell--home { font-size: .9rem; }

  .life-cell--title-a { grid-column: span 1; }

  .life-cell--title h1,
  .life-cell--title p {
    font-size: clamp(2rem, 11vw, 4.4rem);
    line-height: .82;
  }

  .life-cell--title-b p {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .life-cell--video {
    grid-column: 1 / -1;
    grid-row: span 2;
    padding: 12px;
  }

  .life-cell--video video { max-height: none; }
  .life-cell--empty-tall { min-height: 52vw; }
}
