/* Matches the Cargo site: text scales with the window height, like Cargo's base size. */
html {
  font-size: min(1.44dvh, 1.4567vw);
  background: #fff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  font-family: "Neue Haas Grotesk Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:active { opacity: 0.7; }
a.active { color: #0007ff; }

h1 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 5.2rem;
  line-height: 1;
  margin: 0;
  color: rgba(0, 0, 0, 0.85);
}
h2 {
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.1;
  margin: 0;
  color: rgba(0, 0, 0, 0.75);
}

.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 2rem 2rem 1.5rem;
  pointer-events: none;
}
.top a { pointer-events: auto; }
.peace {
  font-size: 4rem; line-height: 1.2; font-weight: 500;
  color: rgba(0, 0, 0, 0.75);
  font-family: "Apple Symbols", "Segoe UI Symbol", sans-serif;
}
.peace.active { color: #0007ff; }

.bottom {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 2rem 2rem 1.5rem;
  pointer-events: none;
}
.bottom a { pointer-events: auto; }

.content {
  padding: 9.2rem 2rem 10rem;
  font-size: 1.2rem; line-height: 1.2;
  color: rgba(0, 0, 0, 0.75);
}
.text { margin-bottom: 6rem; }
.text b { font-weight: bold; }

.cols { display: grid; grid-template-columns: 6fr 1fr 3fr 2fr; column-gap: 2rem; }
.cols h2 { grid-column: 1; }
.cols .side { grid-column: 3; }
.icon { font-family: "Apple Symbols", "Segoe UI Symbol", sans-serif; }

/* Freeform photo layout, positioned by site.js from Cargo's numbers. */
.freeform { position: relative; }
.freeform img { position: absolute; display: block; height: auto; cursor: zoom-in; }

.viewer {
  position: fixed; inset: 0; z-index: 20; background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 3rem; cursor: zoom-out;
}
.viewer[hidden] { display: none; }
.viewer img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Phones: Cargo scales text up and stacks the photos. */
@media (max-width: 700px) {
  html { font-size: calc(min(1.44dvh, 2.6vw) * 1.23); }
  h1 { font-size: 3rem; }
  .top, .bottom { padding: 1rem 1rem 0.75rem; }
  .content { padding: 6rem 1rem 9rem; }
  .cols { display: block; }
  .cols .side { margin-top: 2rem; }
  .freeform { height: auto !important; }
  .freeform img { position: static; width: 100% !important; margin-bottom: 1rem; }
}
