/* Dig to China, the /press page. Loaded after style.css, which holds the colours, the fonts,
   the snapshots and the picture viewer. Only the press page uses this file. */

.press-top {
  padding: var(--space-5) 0 0;
  text-align: center;
  background-color: var(--sky-low);
  background-image: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-low) 80%);
  background-size: 100% 100%;
  overflow: hidden;
}
.press-top .logo { width: min(340px, 78%); }
.press-top h1 {
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  color: var(--clay-deeper);
  margin: var(--space-3) 0 var(--space-2);
  transform: rotate(-1.5deg);
}
.press-top p { color: var(--ink-soft); max-width: 34em; margin: 0 auto var(--space-5); padding: 0 var(--space-3); }
.press-top .back { display: inline-block; font-family: var(--hand); font-size: 1.35rem; margin-bottom: var(--space-3); }

.press-body { padding-top: var(--space-6); }
.press-body h2 { color: var(--cream); text-align: center; margin: var(--space-7) 0 var(--space-4); }
.press-body > .wrap:first-child > h2:first-child { margin-top: 0; }
.press-body .lead { text-align: center; max-width: 36em; margin: 0 auto var(--space-5); }

/* A sheet of paper */
.sheet {
  background: var(--paper);
  color: var(--ink);
  padding: var(--space-4) var(--space-4) var(--space-3);
  border-radius: 3px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  --focus: var(--ink);
}
.sheet a { color: var(--clay-deeper); font-weight: 700; }
.sheet p:last-child, .sheet ul:last-child { margin-bottom: var(--space-2); }
.sheet ul { margin: 0 0 var(--space-3); padding-left: 1.2em; }
.sheet li { margin-bottom: var(--space-2); }

/* The fact sheet: a name on the left, the fact on the right; stacked on phones. */
.facts { margin: 0; }
.facts div {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: var(--space-3);
  padding: 9px 0;
  border-bottom: 2px dashed rgba(46, 33, 22, 0.16);
}
.facts div:last-child { border-bottom: 0; }
.facts dt { font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1.6; margin: 0; color: var(--ink-soft); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* Downloads: the screenshots, then the logos */
.shots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
}
.shots .snapshot { padding: 8px 8px 6px; }
.shots .snapshot::before { display: none; }
.shots figcaption { font-size: 1.15rem; }
.shots figcaption a { color: var(--clay-deeper); }

.get {
  text-align: center;
  margin: var(--space-5) 0 0;
}
.get .big-button { font-size: clamp(1.4rem, 4vw, 1.8rem); }
.get small { display: block; margin-top: var(--space-3); font-size: 1rem; }

.logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}
.logos li { text-align: center; }
.logos .tile {
  display: grid;
  place-items: center;
  height: 190px;
  padding: var(--space-3);
  border-radius: 3px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}
.logos .tile img { display: block; max-width: 100%; max-height: 150px; width: auto; height: auto; }
.logos .on-dark  { background: #2b3a4a; }
.logos .on-light { background: #d4ecf8; }
.logos .on-paper { background: var(--paper); }
.logos p { margin: var(--space-3) 0 0; font-size: 1.0625rem; }

/* Key art: the store capsules. The tall one gets a taller tile; the wide one spans the row. */
.art { margin-bottom: var(--space-3); }
.art .tile { height: 220px; }
.art .tile img { max-height: 190px; }
.art .art-wide { grid-column: 1 / -1; }
.art .art-wide .tile { height: auto; }
.art .art-wide .tile img { max-height: none; width: 100%; }
.shots figcaption a { margin-left: 0.4em; font-family: var(--body); font-size: 0.9rem; font-weight: 700; }
.logos a { font-weight: 700; }

.press-foot { text-align: center; padding: var(--space-7) 0 var(--space-6); }
.press-foot .small { font-size: 0.9375rem; max-width: 40em; margin: var(--space-4) auto 0; }
.press-foot a { font-weight: 700; }
