/* Frontier print-shop system: condensed poster headings, serif reading text, ink and paper.
   Public pages share these styles. Helper-specific styles live in helper.css. */
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Rye";
  src: url("fonts/rye.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif";
  src: url("fonts/source-serif.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #eee5d2;
  --ink: #282921;
  --rust: #943f2d;
  --muted: #676355;
  --line: #b9b09c;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Source Serif", Georgia, serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.7 var(--body);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.8' d='M0 0h160v160H0z'/%3E%3C/svg%3E");
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:hover {
  color: var(--rust);
}
a:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 6px;
}
::selection {
  background: var(--rust);
  color: var(--paper);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.05;
  font-weight: 700;
}
h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 54px);
}
h2 em {
  font-style: normal;
  color: var(--rust);
}
p + p {
  margin-top: 18px;
}
.wrap {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  background: var(--paper);
  padding: 12px;
  z-index: 10;
}
.skip-link:focus {
  transform: none;
}
.dispatch {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px max(48px, calc((100vw - 1240px) / 2));
  background: var(--ink);
  color: var(--paper);
  font: 700 11px/1.4 var(--display);
  letter-spacing: 2px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 27px;
  border-bottom: 1px solid var(--ink);
}
.wordmark {
  font:
    400 35px/1 "Rye",
    Georgia,
    serif;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark > span:first-child {
  color: var(--rust);
  font-size: 35px;
  margin-right: 5px;
}
.wordmark-sub {
  display: block;
  margin-top: 9px;
  margin-left: 2px;
  font: 700 10px/1.4 var(--display);
  letter-spacing: 2.3px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.site-header nav a {
  position: relative;
  padding: 10px 0;
  text-decoration: none;
  font: 700 16px/1.4 var(--display);
  letter-spacing: 0.35px;
}
.site-header nav a[aria-current="page"] {
  color: var(--rust);
}
.site-header nav a[aria-current="page"]::after {
  content: "";
  height: 2px;
  background: var(--rust);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
.site-header nav a span {
  padding-left: 6px;
}
.eyebrow {
  font: 700 12px/1.5 var(--display);
  letter-spacing: 2px;
}
.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 10px;
  align-items: center;
  padding-block: 57px 48px;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.small-star {
  font-size: 20px;
  color: var(--rust);
  vertical-align: -2px;
  padding-right: 8px;
}
.hero h1 {
  font: 700 clamp(55px, 5.3vw, 76px)/0.99 var(--display);
  letter-spacing: -1px;
  margin-top: 24px;
}
.hero h1 span {
  display: block;
  color: var(--rust);
}
.hero-description {
  margin-top: 24px;
  max-width: 425px;
  font-size: 17px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 29px;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 15px 23px;
  background: var(--rust);
  color: #fff7e8;
  font: 700 16px/1.5 var(--display);
  text-decoration: none;
  border: 1px solid var(--rust);
  transition: background 0.15s;
}
.button:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.text-link {
  font: 700 15px/1.5 var(--display);
}
.text-link span {
  margin-left: 9px;
}
.hero-note {
  font-size: 11px;
  margin-top: 24px;
  color: var(--muted);
}
.hero-art {
  margin-left: -5%;
  width: 112%;
}
.hero-art img {
  mix-blend-mode: multiply;
}
.hero-art figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 8% 0;
  color: var(--muted);
  font: 700 9px/1.5 var(--display);
  letter-spacing: 1.5px;
}
.game-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 21px 0;
}
.game-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font: 700 clamp(16px, 1.6vw, 23px)/1.3 var(--display);
  letter-spacing: 1.5px;
}
.strip-star {
  font-size: 20px;
  color: #c69b69;
}
.section-space {
  padding-block: 72px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
}
.edition {
  font: 700 10px/1.5 var(--display);
  letter-spacing: 1.5px;
  color: var(--muted);
}
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.product-layout > div:first-child > p:last-child {
  max-width: 450px;
}
.section-intro {
  margin-top: 23px;
  font-size: 20px;
  line-height: 1.55;
}
.product-ledger {
  border: 1px solid var(--ink);
  padding: 28px 32px;
  position: relative;
}
.product-ledger::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.ledger-title {
  display: flex;
  gap: 13px;
  align-items: center;
}
.ledger-title span {
  color: var(--rust);
  font-size: 23px;
}
.ledger-title h3 {
  font: 700 22px/1.3 var(--display);
  letter-spacing: 0.5px;
}
dl {
  margin: 0;
}
.product-ledger dl > div {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
dt {
  font-weight: bold;
}
dd {
  margin: 3px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.availability {
  margin-top: 22px;
  font: 700 12px/1.5 var(--display);
  letter-spacing: 1.5px;
  color: var(--rust);
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--rust);
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: 2px;
}
p.availability-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 8px;
}
.factions-section {
  background: #e5dbc5;
  border-block: 1px solid var(--line);
}
.factions-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}
.factions-heading h2 {
  font-size: clamp(34px, 3.6vw, 49px);
}
.factions-heading > p {
  font-size: 15px;
}
.factions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
}
.faction {
  padding: 0 28px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.faction:first-child {
  padding-left: 0;
  border-left: 0;
}
.faction:last-child {
  padding-right: 0;
}
.faction-mark {
  font:
    400 43px/1 Georgia,
    serif;
  margin-bottom: 18px;
}
.townsfolk .faction-mark {
  color: #a66c2b;
}
.bandits .faction-mark {
  color: var(--rust);
}
.indigenous .faction-mark {
  color: #58624a;
}
.aliens .faction-mark {
  color: #556b70;
}
.faction-number {
  font: 700 10px/1.5 var(--display);
  letter-spacing: 1.5px;
  color: var(--muted);
}
.faction h3 {
  font:
    400 24px/1.3 "Rye",
    Georgia,
    serif;
  margin-top: 6px;
}
.faction h3 + p {
  font-size: 14px;
  margin-block: 15px 25px;
}
.faction-goal {
  font: 700 11px/1.4 var(--display);
  letter-spacing: 1px;
  margin-top: auto;
}
.factions-footnote {
  border-top: 1px solid var(--line);
  padding-top: 19px;
  margin-top: 32px;
  font-size: 12px;
  color: var(--muted);
}
.flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  list-style: none;
  margin: 38px 0 0;
  padding: 0;
}
.flow-list li {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}
.phase-number {
  font: 700 40px/1 var(--display);
  color: var(--rust);
}
.flow-list h3 {
  font: 700 25px/1.2 var(--display);
  margin-bottom: 11px;
}
.flow-list p {
  font-size: 14px;
}
.flow-note {
  margin-top: 32px;
  font-size: 12px;
  color: var(--muted);
}
.flow-note span {
  font-size: 20px;
  margin-right: 9px;
}
.manitou-section {
  background: var(--rust);
  color: var(--paper);
  padding-block: 60px;
}
.manitou-layout {
  display: grid;
  grid-template-columns: 100px 1fr 170px;
  gap: 38px;
  align-items: center;
}
.manitou-symbol {
  font-size: 110px;
  line-height: 1;
  opacity: 0.75;
}
.manitou-layout h2 {
  font-size: clamp(34px, 3.5vw, 48px);
  margin-top: 18px;
}
.manitou-layout div > p:not(.eyebrow) {
  margin-top: 22px;
  max-width: 620px;
  font-size: 15px;
}
.button-paper {
  background: var(--paper);
  color: var(--ink);
  margin-top: 25px;
  border-color: var(--paper);
}
.manitou-section a:focus-visible {
  outline-color: var(--paper);
}
.margin-note {
  font: 700 12px/1.8 var(--display);
  letter-spacing: 2px;
  border-top: 1px solid #b67762;
  padding-top: 15px;
  align-self: end;
}
.project-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.project-section h2 {
  margin-top: 25px;
}
.project-section .section-intro {
  margin-top: 0;
}
.project-section .text-link {
  display: inline-block;
  margin-top: 21px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-block: 27px;
  border-top: 1px solid var(--ink);
}
.footer-logo {
  font:
    400 23px/1 "Rye",
    Georgia,
    serif;
  text-decoration: none;
}
.footer-logo span {
  color: var(--rust);
  padding-left: 10px;
}
.site-footer > p {
  font: 700 11px/1.5 var(--display);
  letter-spacing: 2px;
}
.site-footer > a:last-child {
  font: 700 13px/1.5 var(--display);
  text-decoration: none;
}
.manual-main {
  padding-block: 56px 72px;
}
.manual-heading {
  padding-bottom: 40px;
  border-bottom: 3px double var(--ink);
}
.manual-heading h1 {
  font: 700 clamp(55px, 7vw, 90px)/1 var(--display);
  margin-block: 20px;
}
.manual-heading h1 span {
  color: var(--rust);
}
.manual-heading > p:last-child {
  max-width: 620px;
  font-size: 18px;
}
.manual-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 80px;
  margin-top: 40px;
}
.manual-sidebar {
  align-self: start;
  position: sticky;
  top: 30px;
}
.manual-sidebar nav .eyebrow {
  margin-bottom: 18px;
}
.manual-sidebar nav a {
  display: flex;
  gap: 16px;
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font: 700 17px/1.4 var(--display);
}
.manual-sidebar nav a span {
  color: var(--rust);
  font-size: 13px;
  align-self: center;
}
.sidebar-note {
  margin-top: 35px;
  color: var(--muted);
  font-size: 13px;
}
.sidebar-note > span {
  font-size: 30px;
  color: var(--rust);
}
.sidebar-note p {
  margin-top: 12px;
}
.manual-content {
  max-width: 780px;
}
.manual-scope {
  font-size: 14px;
  color: var(--muted);
  border-left: 2px solid var(--rust);
  padding-left: 20px;
}
.manual-section {
  padding-block: 36px;
  border-bottom: 1px solid var(--line);
}
.manual-section h2 {
  margin-block: 14px 22px;
  font-size: 40px;
}
.manual-section h3 {
  margin-top: 25px;
  font: 700 23px/1.3 var(--display);
}
.manual-section ul {
  padding-left: 22px;
}
.manual-section li {
  margin-top: 8px;
}
.rule-note {
  display: flex;
  gap: 18px;
  background: #e4d9c0;
  padding: 22px;
  margin-top: 25px;
  font-size: 14px;
  border-block: 1px solid var(--line);
}
.rule-note > span {
  color: var(--rust);
  font-size: 24px;
}
.manual-caveat {
  font-size: 13px;
  color: var(--muted);
}
.table-scroll {
  margin-block: 24px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
caption {
  text-align: left;
  font: 700 20px/1.4 var(--display);
  margin-bottom: 16px;
}
th,
td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead {
  color: var(--paper);
  background: var(--ink);
}
tbody th {
  width: 25%;
}
@media (min-width: 1500px) {
  .hero h1 {
    font-size: 78px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .dispatch {
    padding-inline: 32px;
  }
  .site-header nav {
    gap: 24px;
  }
  .hero h1 {
    font-size: clamp(48px, 5.6vw, 65px);
  }
  .hero-art {
    width: 105%;
    margin-left: 0;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-actions {
    gap: 20px;
  }
  .product-layout,
  .project-section {
    gap: 50px;
  }
  .faction {
    padding-inline: 20px;
  }
  .faction h3 {
    font-size: 21px;
  }
  .manitou-layout {
    grid-template-columns: 75px 1fr;
    gap: 32px;
  }
  .manitou-symbol {
    font-size: 85px;
  }
  .margin-note {
    display: none;
  }
  .manual-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 40px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .dispatch {
    padding-inline: 20px;
    font-size: 9px;
    letter-spacing: 1.2px;
  }
  .dispatch > span:last-child {
    display: none;
  }
  .site-header {
    flex-wrap: wrap;
    gap: 23px;
    padding-block: 22px 16px;
  }
  .wordmark {
    font-size: 29px;
  }
  .wordmark > span:first-child {
    font-size: 29px;
  }
  .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .site-header nav a {
    font-size: 14px;
  }
  .site-header nav a span {
    padding-left: 2px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 35px;
    gap: 28px;
  }
  .hero h1 {
    font-size: clamp(47px, 10vw, 74px);
  }
  .hero-description {
    font-size: 16px;
    max-width: 520px;
  }
  .hero-art {
    width: 100%;
    margin: 0;
  }
  .hero-art figcaption {
    margin-inline: 0;
    font-size: 8px;
    letter-spacing: 1px;
  }
  .hero-note {
    max-width: 290px;
  }
  .hero-actions {
    gap: 24px;
  }
  .button {
    padding: 13px 20px;
    gap: 25px;
  }
  .game-strip {
    padding-block: 17px;
  }
  .game-strip .wrap {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    font-size: 16px;
  }
  .game-strip .wrap > span:last-child {
    width: 100%;
    text-align: center;
  }
  .strip-star:nth-of-type(4) {
    display: none;
  }
  .section-space {
    padding-block: 45px;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .edition {
    display: none;
  }
  .product-layout,
  .project-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .product-ledger {
    padding: 22px 25px;
  }
  .factions-heading {
    display: block;
  }
  .factions-heading > p {
    margin-top: 22px;
  }
  .factions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 0;
    margin-top: 32px;
  }
  .faction:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .faction:nth-child(2) {
    padding-right: 0;
  }
  .faction h3 {
    font-size: 21px;
  }
  .faction h3 + p {
    font-size: 13px;
  }
  .faction-goal {
    font-size: 10px;
  }
  .flow-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .phase-number {
    width: 42px;
    flex-shrink: 0;
  }
  .flow-note {
    font-size: 11px;
  }
  .flow-section .section-heading {
    flex-wrap: wrap;
    gap: 12px;
  }
  .manitou-section {
    padding-block: 40px;
  }
  .manitou-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .manitou-symbol {
    font-size: 50px;
  }
  .manitou-layout h2 {
    font-size: 35px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 20px;
  }
  .site-footer > p {
    width: 100%;
    order: 3;
    font-size: 9px;
  }
  .manual-main {
    padding-top: 35px;
  }
  .manual-heading h1 {
    font-size: clamp(43px, 10vw, 68px);
  }
  .manual-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 25px;
  }
  .manual-sidebar {
    position: static;
  }
  .manual-sidebar nav a {
    padding-block: 10px;
  }
  .sidebar-note {
    display: none;
  }
  .manual-section h2 {
    font-size: 35px;
  }
  .manual-heading > p:last-child {
    font-size: 16px;
  }
  .manual-section {
    padding-block: 28px;
  }
  th,
  td {
    padding: 12px 9px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
}
