/* wildmechs.com: machine above, paperwork below. Every colour is an ART.md token. */
:root {
  --gunmetal-deep: #23262b;
  --gunmetal: #3a3d42;
  --steel: #5b5f66;
  --bone: #e8e4d8;
  --amber: #e8a613;      /* glow only, on gunmetal */
  --parchment: #f4e9d4;
  --leather: #8a5a24;
}
* { box-sizing: border-box; }
html { background: var(--parchment); }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--gunmetal-deep);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.4;
}
img { max-width: 100%; height: auto; display: block; }
p, li { text-wrap: pretty; }
a { color: var(--gunmetal-deep); }
.nw, .stats span:not(.dot), .contact span:not(.dot) { white-space: nowrap; }
.dot { padding: 0 6px; }

/* The machine: full-bleed gunmetal band, closed by an amber bus-bar */
.hero {
  background: var(--gunmetal-deep);
  color: var(--bone);
  border-bottom: 4px solid var(--amber);
  padding: 32px max(32px, calc((100% - 1100px) / 2)) 36px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  grid-template-areas: "wm table" "text table";
  column-gap: 44px;
  align-items: center;
}
.wordmark { grid-area: wm; margin: 0 auto; width: 300px; align-self: end; }
.hero-text { grid-area: text; align-self: start; text-align: center; }
.hook {
  margin: 16px 0 12px;
  font-weight: 700;
  font-size: 29px;
  line-height: 1.2;
  text-wrap: balance;
}
.stats {
  margin: 0;
  color: var(--amber);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.table-shot { grid-area: table; margin: 0; }
.table-shot img { border: 1px solid var(--steel); }

/* The paperwork */
main { max-width: 1040px; margin: 0 auto; padding: 30px 32px 0; }
.pitch-video {
  max-width: 760px;
  margin: 0 auto 30px;
  aspect-ratio: 16 / 9;
  background: var(--gunmetal-deep);
  border-bottom: 4px solid var(--amber);
}
.pitch-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.body { display: grid; grid-template-columns: 1fr auto; gap: 44px; align-items: start; }
.lede { margin: 0 0 14px; }
.points { margin: 0 0 20px; padding-left: 22px; }
.points li { margin-bottom: 10px; }
.points li::marker { color: var(--leather); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home .actions .btn { flex: 1 1 auto; text-align: center; padding: 9px 12px 7px; }
.btn {
  display: inline-block;
  background: var(--gunmetal-deep);
  color: var(--bone);
  border-bottom: 3px solid var(--amber);
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  padding: 9px 18px 7px;
  border-radius: 3px;
}
.btn:hover, .btn:focus-visible { background: var(--gunmetal); }
.mechs { margin: 0; display: flex; gap: 14px; }
.mech { width: 150px; }
.components {
  margin: 28px 0 0;
  padding: 12px 16px;
  background: var(--bone);
  border: 1px solid var(--steel);
}
.contact {
  max-width: 1040px;
  margin: 26px auto 0;
  padding: 14px 32px 22px;
  text-align: center;
  font-size: 18px;
}
.contact::before {
  content: ""; display: block; height: 1px; background: var(--leather); margin-bottom: 14px;
}

/* The slim pages: /tutorial and the 404 */
.slim .hero { display: block; padding-top: 22px; padding-bottom: 22px; }
.slim .wordmark { display: block; width: 200px; }
.slim main { max-width: 880px; padding-bottom: 36px; }
.page-title {
  font-family: 'Sancreek', serif; font-weight: 400;
  font-size: 40px; text-align: center; margin: 0 0 18px;
}
.video {
  aspect-ratio: 16 / 9;
  background: var(--gunmetal-deep);
  color: var(--bone);
  border-bottom: 4px solid var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
  text-align: center; padding: 16px;
}
.video p { margin: 0; }
.until { text-align: center; margin: 20px 0 16px; }
.tut-actions { justify-content: center; align-items: center; gap: 22px; }
.notfound main { padding-top: 48px; padding-bottom: 64px; text-align: center; }
.notfound .page-title { margin-bottom: 22px; }

/* Fold and small tablets: the hero stays side by side, a size down, so the band ends inside the first screen */
@media (min-width: 760px) and (max-width: 1099px) {
  .hero { grid-template-columns: 1fr 1.25fr; column-gap: 30px; padding-top: 26px; padding-bottom: 28px; }
  .wordmark { width: 250px; }
  .hook { font-size: 24px; margin: 12px 0 10px; }
  .stats { font-size: 14px; letter-spacing: 0.06em; }
  .dot { padding: 0 4px; }
  .home .actions { flex-direction: column; }
}
@media (max-width: 759px) {
  body { font-size: 18px; }
  .hero {
    padding: 22px 16px 0;
    grid-template-columns: 1fr;
    grid-template-areas: "wm" "text" "table";
  }
  .wordmark { width: 250px; }
  .hook { font-size: 25px; margin-top: 12px; }
  .stats { font-size: 15px; letter-spacing: 0.06em; }
  .dot { padding: 0 4px; }
  .hero-text { margin-bottom: 18px; }
  .table-shot { margin: 0 -16px; }
  .table-shot img { border: 0; }
  main { padding: 22px 16px 0; }
  .pitch-video { margin-bottom: 24px; }
  .body { grid-template-columns: 1fr; gap: 24px; }
  .actions { flex-direction: column; }
  .btn { text-align: center; }
  .mechs { justify-content: center; }
  .mech { width: 44%; max-width: 150px; }
  .contact { padding: 14px 16px 20px; }
  .slim .hero { padding-bottom: 18px; }
  .slim .wordmark { width: 170px; }
  .page-title { font-size: 32px; }
  .video { font-size: 20px; }
  .tut-actions { flex-direction: column; gap: 14px; }
  .tut-actions .btn { width: 100%; }
}
