@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/nunito-sans-var.woff2") format("woff2");
}

@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/zilla-slab-600.woff2") format("woff2");
}

@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/zilla-slab-700.woff2") format("woff2");
}

:root {
  --spruce: #1e3d33;
  --spruce-deep: #16302a;
  --plank: #234538;
  --snow: #f5f3ee;
  --cranberry: #b23a48;
  --rosehip: #8e2a37;
  --birch: #d9cbb0;
  --birch-seam: #cbbb9c;
  --slate: #3a4750;
  --frost: #cfe3ea;
  --char: #3b2a1e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--snow);
  color: var(--slate);
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: "Zilla Slab", Georgia, serif;
  color: var(--spruce);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 6vw, 2.9rem);
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 1.95rem);
  margin: 0 0 12px;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 8px;
}

a {
  color: var(--rosehip);
  text-underline-offset: 3px;
  transition: color .2s;
}

a:hover {
  color: var(--spruce);
}

img {
  max-width: 100%;
  height: auto;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--rosehip);
  outline-offset: 3px;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.top {
  background-color: var(--spruce);
  background-image:
    repeating-linear-gradient(180deg, transparent 0 26px, rgba(10, 24, 19, .55) 26px 28px),
    repeating-linear-gradient(180deg, var(--spruce) 0 28px, var(--plank) 28px 56px);
  color: var(--snow);
}

.top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--snow);
  text-decoration: none;
}

.mark:hover {
  color: var(--frost);
}

.tagline {
  margin: 2px 0 0;
  font-size: 1rem;
  color: var(--frost);
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 4px;
  color: var(--snow);
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}

.menu a:hover {
  background: rgba(207, 227, 234, .18);
  color: var(--snow);
}

.menu a[aria-current="page"] {
  background: var(--snow);
  color: var(--spruce);
}

.top a:focus-visible,
.foot a:focus-visible,
.foot button:focus-visible {
  outline-color: var(--frost);
}

.break:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  width: calc(100% - 40px);
  max-width: 940px;
  margin: 16px auto 0;
  padding: 14px 18px;
  background: var(--frost);
  color: var(--spruce);
  border-left: 6px solid var(--cranberry);
}

.break p {
  margin: 0;
  flex: 1 1 240px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border: 0;
  border-radius: 4px;
  background: var(--cranberry);
  color: var(--snow);
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s;
}

.btn:hover {
  background: var(--rosehip);
  color: var(--snow);
}

main {
  padding: 40px 0 56px;
}

section {
  margin-top: 48px;
}

.lead {
  max-width: 700px;
  font-size: 1.15rem;
}

.signs,
.trail-list {
  display: grid;
  gap: 28px;
  margin-top: 24px;
}

.sign {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 32px 60px 28px 24px;
  background: var(--birch);
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 50%, calc(100% - 36px) 100%, 0 100%);
}

.sign::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 14px;
  height: 14px;
  background: var(--cranberry);
}

.sign h2,
.sign h3 {
  margin: 0;
  color: var(--char);
  font-size: 1.65rem;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}

.sign p {
  margin: 0 0 10px;
}

.by {
  font-weight: 700;
}

.sign .by {
  margin-bottom: 8px;
}

.facts {
  margin: 0 0 16px;
  padding-left: 20px;
}

.notes {
  margin: 4px 0 18px;
  padding: 14px 18px;
  background: var(--frost);
  border-left: 4px solid var(--spruce);
}

.notes h3 {
  margin: 0 0 6px;
  color: var(--spruce);
  font-size: 1.2rem;
  text-shadow: none;
}

.notes dl {
  margin: 0;
}

.notes dt {
  font-weight: 700;
  color: var(--spruce);
}

.notes dd {
  margin: 0 0 8px;
}

.logbook {
  padding: 20px 24px;
  background: #fbfaf6;
  border: 1px solid var(--birch);
  border-left: 6px solid var(--cranberry);
}

.entry {
  margin-top: 0;
  font-style: italic;
  color: var(--spruce);
}

.logbook ul {
  padding-left: 22px;
}

.logbook li {
  margin-bottom: 6px;
}

.qa h3 {
  margin-top: 24px;
}

.hearth {
  padding: 24px;
  background: var(--birch);
  border-top: 4px solid var(--spruce);
}

.hearth p {
  margin-bottom: 0;
}

.crumbs ol {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.crumbs li {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.crumbs li + li::before {
  content: "›";
  padding: 0 10px;
}

.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.game-head {
  display: grid;
  gap: 16px;
  align-items: start;
}

.game-head p {
  margin-top: 0;
}

.frame {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 28px auto 0;
  aspect-ratio: 3 / 4;
  min-height: 480px;
  background: var(--spruce);
  border: 6px solid var(--char);
}

.frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.wait {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 24px;
  color: var(--snow);
  font-size: 1.1rem;
  text-align: center;
}

.frame.is-open iframe {
  z-index: 3;
}

.frame-note {
  max-width: 1000px;
  margin: 10px auto 0;
  font-size: 1rem;
}

.spec {
  width: 100%;
  border-collapse: collapse;
}

.spec th,
.spec td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--birch);
}

.spec th {
  width: 34%;
  color: var(--spruce);
}

.trail-links {
  padding-left: 22px;
}

.trail-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.updated {
  font-weight: 700;
  color: var(--spruce);
}

.legal h2 {
  margin-top: 36px;
  font-size: 1.45rem;
}

.note-form {
  display: grid;
  gap: 8px;
  max-width: 560px;
  margin-top: 24px;
}

.note-form label {
  margin-top: 8px;
  font-weight: 700;
  color: var(--spruce);
}

.note-form input,
.note-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 2px solid var(--slate);
  border-radius: 4px;
  background: #fff;
  color: var(--slate);
  font: inherit;
}

.note-form .btn {
  justify-self: start;
  margin-top: 12px;
}

.gate:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  background: rgba(30, 61, 51, .93);
}

.door {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: auto;
  padding: 32px 52px 26px 26px;
  background-color: var(--birch);
  background-image: repeating-linear-gradient(90deg, transparent 0 62px, var(--birch-seam) 62px 64px);
  border: 10px solid var(--spruce-deep);
  box-shadow: 0 0 0 3px var(--plank);
}

.door h2 {
  font-size: 1.6rem;
}

.door .btn {
  width: 100%;
  margin-top: 8px;
}

.latch {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 14px;
  height: 40px;
  margin-top: -20px;
  background: var(--cranberry);
  border-radius: 3px;
}

.latch::after {
  content: "";
  position: absolute;
  top: 15px;
  left: -12px;
  width: 12px;
  height: 10px;
  background: var(--rosehip);
}

.gate-out {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  font-weight: 700;
}

.notice:not([hidden]) {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  padding: 14px 20px;
  background: var(--birch);
  border-top: 4px solid var(--spruce);
}

.notice p {
  flex: 1 1 260px;
  max-width: 720px;
  margin: 0;
}

.foot {
  margin-top: 24px;
  padding-bottom: 32px;
  background: var(--spruce);
  color: var(--snow);
}

.foot::before {
  content: "";
  display: block;
  height: 14px;
  background-color: var(--snow);
  background-image:
    linear-gradient(90deg, rgba(178, 58, 72, .72) 50%, transparent 50%),
    linear-gradient(180deg, rgba(178, 58, 72, .72) 50%, transparent 50%);
  background-size: 14px 14px;
}

.foot a {
  color: var(--frost);
}

.foot a:hover {
  color: var(--snow);
}

.foot .mark {
  color: var(--snow);
}

.foot h2 {
  margin: 0 0 8px;
  color: var(--snow);
  font-size: 1.2rem;
}

.foot-cols {
  display: grid;
  gap: 28px;
  padding-top: 36px;
}

.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.pledges {
  margin: 28px 0 0;
  padding: 20px 0 0 20px;
  border-top: 1px solid rgba(207, 227, 234, .3);
}

.pledges li {
  margin-bottom: 6px;
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.foot-base p {
  margin: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--cranberry);
  color: var(--snow);
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.reset {
  min-height: 44px;
  padding: 8px 16px;
  border: 2px solid var(--frost);
  border-radius: 4px;
  background: transparent;
  color: var(--snow);
  font: inherit;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}

.reset:hover {
  background: var(--frost);
  color: var(--spruce);
}

@media (min-width: 640px) {
  .sign {
    grid-template-columns: 110px 1fr;
    align-items: start;
  }

  .game-head {
    grid-template-columns: 1fr 120px;
  }
}

@media (min-width: 700px) {
  .frame {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

@media (min-width: 760px) {
  .foot-cols {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

@media (min-width: 820px) {
  .signs .sign {
    width: 84%;
  }

  .signs .sign:nth-child(even) {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none;
  }
}
