/* Inevitable Betrayal Games - single page. All colours are set here in :root. */
:root {
  --night: #111214;      /* page background */
  --panel: #191b1f;      /* project section background */
  --paper: #ece5d8;      /* main text */
  --dim: #a59e92;        /* secondary text */
  --signal: #e8642c;     /* accent */
  --rule: #2b2e34;       /* hairlines */
  --maxw: 760px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Company name bar */
.top {
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}

.mark {
  margin: 0;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Company line */
.intro { padding: 72px 0 64px; }

.where {
  margin: 0 0 14px;
  color: var(--signal);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.25;
  text-wrap: balance;
}

/* Current project */
.project {
  background: var(--panel);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 64px 0 56px;
}

.label {
  margin: 0 0 10px;
  color: var(--dim);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 28px;
  color: var(--signal);
  font-family: Impact, "Haettenschweiler", "Arial Narrow Bold", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.project p { margin: 0 0 20px; }
.project p:last-child { margin-bottom: 0; }

.lede {
  font-size: 22px;
  line-height: 1.4;
}

footer {
  padding: 28px 0 40px;
  color: var(--dim);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
}

footer p { margin: 0; }

/* Phones */
@media (max-width: 520px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .mark { font-size: 13px; letter-spacing: 0.18em; }
  .intro { padding: 48px 0 44px; }
  h1 { font-size: 26px; }
  .project { padding: 44px 0 40px; }
  h2 { font-size: 46px; margin-bottom: 22px; }
  .lede { font-size: 20px; }
}
