@font-face {
  /* Jersey 10 has one weight; the 400-700 range stops browsers faking bold */
  font-family: "Jersey 10";
  src: url("/assets/jersey10.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  /* Drawn smaller per em than most fonts; scale it to sit at the sizes in this file */
  size-adjust: 112%;
}
:root {
  --header-height: 4.25rem;
  --hero-height: calc(100svh - var(--header-height));
  --forest: #223c30;
  --deep: #182c22;
  --wood: #493522;
  --wood-line: #6d583d;
  --trim: #bd9661;
  --gold: #f0c373;
  --cream: #f8f3dd;
  --parch: #fbf4da;
  --parch-2: #efe3bd;
  --ink: #303d2b;
  --soft: #55624a;
  --line: #d8ceab;
  --pixel: "Jersey 10", monospace;
  --serif: Georgia, "Times New Roman", serif;
  font:
    16px/1.55 "Avenir Next",
    Avenir,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--cream);
}
* {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
p,
figure,
ul,
ol,
dl {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
body {
  background:
    radial-gradient(#d9c99a55 1px, transparent 1.4px) 0 0 / 14px 14px,
    radial-gradient(ellipse at 85% 30%, #fbf7e9, transparent 60%), var(--cream);
}
a {
  color: inherit;
}
a:focus-visible,
.skip:focus-visible {
  outline: 3px solid #cc8731;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  background: var(--gold);
  color: #3d3927;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 600;
}
.skip:focus {
  top: 10px;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3 {
  font-family: var(--pixel);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #34281a;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.9rem);
}
h3 {
  font-size: clamp(1.3rem, 1.7vw, 1.8rem);
}
.eyebrow,
.feature-copy small,
.trail-entry small {
  display: block;
  font: 500 15px/1.2 var(--pixel);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a6a3f;
  margin-bottom: 8px;
}

/* Header and footer: the game's wood-and-night frame */
.site-head,
footer {
  background: linear-gradient(#2a4636, var(--forest));
  color: #f5eccd;
}
.site-head {
  display: flex;
  min-height: var(--header-height);
  border-bottom: 4px solid var(--wood);
  box-shadow: 0 2px 0 var(--trim);
  position: relative;
  z-index: 2;
}
.site-head > div,
footer > div {
  max-width: 1500px;
  margin: auto;
  padding: 12px clamp(16px, 5vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.site-head > div {
  width: 100%;
}
.wordmark img {
  width: 182px;
  height: auto;
}
nav,
.cover-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 34px);
}
.site-head nav {
  margin-left: auto;
}
nav a,
.soft-link,
.ink-link {
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}
.site-head nav a {
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-head nav a:hover {
  border-color: var(--trim);
}
.site-head nav a[aria-current="page"] {
  border-color: var(--gold);
  color: #ffe6a3;
}
.soft-link:hover,
.ink-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.play-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(#f8d990, #eac071);
  color: #3d3927;
  text-decoration: none;
  font: 600 20px/1.1 var(--pixel);
  border: 2px solid var(--wood-line);
  box-shadow:
    inset 0 0 0 1px #ffe9b4,
    0 3px 0 #614830;
  border-radius: 5px;
  padding: 13px 23px;
  white-space: nowrap;
}
.play-link:hover {
  background: #fbe3a4;
  translate: 0 -1px;
}
.play-link:active {
  translate: 0 2px;
  box-shadow:
    inset 0 0 0 1px #ffe9b4,
    0 1px 0 #614830;
}
.play-link span {
  font-size: 0.65em;
}
.site-head .play-link {
  padding: 8px 16px;
  font-size: 17px;
  flex: none;
}

/* The shaded edge of the clearing holds the title and controls. */
.cover {
  display: flex;
  flex-direction: column;
  min-height: var(--hero-height);
  position: relative;
  isolation: isolate;
  background: #132e2b;
}
.cover-scene,
.cover::before {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cover-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 55%;
}
.cover::before {
  content: "";
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(10 30 29 / 93%), rgb(10 30 29 / 80%) 28%, transparent 65%);
}
.cover-content {
  position: relative;
  max-width: 1500px;
  flex: 1;
  width: 100%;
  margin: auto;
  padding: clamp(56px, 6vw, 96px) clamp(24px, 5vw, 78px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #fff5dc;
}
.cover-kicker {
  color: #f8d18a;
  font: 400 18px/1.2 var(--pixel);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.cover h1 {
  margin: 8px 0 14px;
  color: inherit;
  font-size: clamp(5.1rem, 8.7vw, 9rem);
  line-height: 0.93;
  text-shadow: 0 4px #16332e;
}
.cover p {
  max-width: min(37ch, 41vw);
  font: 400 clamp(1.1rem, 1.45vw, 1.4rem)/1.48 var(--serif);
}
.cover-actions {
  margin-top: 25px;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.cover-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}
.cover .soft-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding-block: 10px;
}
.cover small {
  margin-top: 13px;
  color: #deebd9;
  font-size: 0.8rem;
}
@media (max-width: 680px) {
  .cover-scene {
    position: relative;
    display: block;
    flex: 1 0 auto;
    aspect-ratio: 2 / 1;
  }
  .cover-scene img {
    position: absolute;
    inset: 0;
  }
  .cover::before {
    display: none;
  }
  .cover-scene::after {
    content: "";
    position: absolute;
    inset: 68% 0 -1px;
    background: linear-gradient(transparent, #132e2b);
  }
  .cover-content {
    flex: none;
    padding: 0 22px 32px;
  }
  .cover h1 {
    font-size: clamp(4.4rem, 15vw, 5.25rem);
    margin: 5px 0 10px;
  }
  .cover p {
    max-width: 40ch;
  }
  .cover-actions {
    margin-top: 18px;
  }
}

/* Layout */
.editorial {
  max-width: 1340px;
  margin: auto;
  padding: clamp(34px, 5vw, 72px) clamp(18px, 5vw, 74px);
}
.editorial:has(> .page-intro) {
  padding-top: 0;
}
.page-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--hero-height);
  padding-block: clamp(24px, 4vw, 60px);
}
.page-intro > :last-child {
  margin-bottom: 0;
}
.section-intro {
  margin-bottom: 26px;
}
.section-intro .lede {
  margin-bottom: 0;
}
.band {
  background:
    radial-gradient(#ffffff0d 1px, transparent 1.4px) 0 0 / 12px 12px,
    linear-gradient(var(--forest), var(--deep));
  color: #f5eccd;
  border-block: 4px solid var(--wood);
  box-shadow:
    0 -2px 0 var(--trim),
    0 2px 0 var(--trim);
}
.band h2,
.band h3 {
  color: #ffe6a3;
  text-shadow: 1px 2px #14241b;
}
.band .eyebrow {
  color: #cdb27a;
}
.band .lede,
.band p {
  color: #e8e1c3;
}
.parchment-band {
  background:
    radial-gradient(#d9c99a55 1px, transparent 1.4px) 0 0 / 14px 14px,
    var(--parch-2);
  color: var(--ink);
  border-color: transparent;
  box-shadow: none;
  border-block: 1px solid var(--line);
}
.parchment-band h2 {
  color: #34281a;
  text-shadow: none;
}
.parchment-band .eyebrow {
  color: #7a6a3f;
}
.parchment-band .lede {
  color: #607052;
}

/* Wood-framed parchment panels, echoing in-game signs */
.feature,
.species-card,
.recipes > div,
.equipment-path > div,
.recipe-art,
.found-on,
.skies li,
.region-chips a,
.satchel,
.controls,
.how-step,
.pager a {
  background: linear-gradient(#fdf8e4, #f6edcb);
  border: 2px solid #8a6b45;
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 2px #f6e4b6,
    0 3px 0 #5a4429;
}
.feature,
.species-card {
  display: block;
  text-decoration: none;
  overflow: hidden;
  transition: translate 0.12s;
}
.feature:hover,
.species-card:hover,
.pager a:hover,
.region-chips a:hover {
  translate: 0 -3px;
  box-shadow:
    inset 0 0 0 2px #f6e4b6,
    0 6px 0 #5a4429;
}
.features,
.equipment-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}
.feature-art {
  height: clamp(122px, 15vw, 210px);
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: radial-gradient(#f4eccd, #dbe1b9);
  border-bottom: 2px solid #8a6b45;
}
.feature-art img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  padding: 9px;
  object-fit: contain;
  filter: drop-shadow(2px 4px 2px #45533126);
}
.art-1 img {
  padding: 0;
  object-fit: cover;
}
.art-2 {
  background: radial-gradient(#f7e8c2, #dbc89e);
}
.feature-copy {
  padding: 16px 20px 22px;
}
.feature-copy h3 {
  margin: 0 0 9px;
}
.feature-copy p,
.growing p,
.story p,
.plant-feature p,
.guide-section p,
.trail-entry p,
.equipment-path p,
.recipes p,
.map-copy p,
.section-note,
.cta p {
  color: var(--soft);
  line-height: 1.6;
  font-size: 0.97rem;
}
.section-note {
  margin: -6px 0 18px;
  max-width: 720px;
}

/* Day loop */
.loop {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  counter-reset: none;
}
.loop li {
  position: relative;
  padding: 18px 18px 22px;
  background: #00000024;
  border: 2px solid #ffffff1f;
  border-radius: 6px;
  text-align: center;
}
.loop li img {
  height: clamp(70px, 8vw, 110px);
  margin: 6px auto 12px;
  object-fit: contain;
  filter: drop-shadow(2px 4px 2px #0006);
}
.loop h3 {
  margin-bottom: 6px;
}
.loop p {
  font-size: 0.92rem;
  line-height: 1.5;
}
.step-no {
  position: absolute;
  left: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font: 600 16px/1 var(--pixel);
  color: #3d3927;
  background: linear-gradient(#f8d990, #eac071);
  border: 2px solid var(--wood-line);
  border-radius: 4px;
}

/* Map */
.map-section {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
}
.map-copy h2 {
  margin-bottom: 12px;
}
.map-copy .ink-link {
  display: inline-block;
  margin-top: 14px;
}
.map-frame {
  background: var(--parch-2);
  padding: 8px;
  border: 3px solid #6d583d;
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 2px #d7b87c,
    0 6px 0 #4b3a25,
    0 10px 24px #3a2f1d33;
  rotate: 0.6deg;
}
.map-frame img {
  width: 100%;
  border-radius: 2px;
}
.map-frame.wide {
  rotate: 0deg;
  align-self: center;
  max-width: min(100%, 63svh);
}
.region-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 4px;
}
.region-chips a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 6px;
  text-decoration: none;
  transition: translate 0.12s;
}
.region-chips img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 3px;
  flex: none;
}
.region-chips b {
  display: block;
  font: 600 16px/1.15 var(--pixel);
}
.region-chips small {
  font-size: 0.74rem;
  color: var(--soft);
}
.field-chips,
.guide-section .region-chips {
  margin-bottom: 0;
}
.page-intro > .region-chips {
  margin: 0 0 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Gardeners */
.gardeners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 26px);
  max-width: 820px;
}
.gardeners li {
  text-align: center;
}
.gardeners img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 10px;
  margin-bottom: 8px;
  background: radial-gradient(#fbf4da, #dfd4a8);
  border: 2px solid #8a6b45;
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 2px #f6e4b6,
    0 3px 0 #5a4429;
}
.gardeners b {
  font: 600 16px var(--pixel);
  color: #3f3220;
}

/* From seed to bloom */
.growing {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  align-items: center;
  gap: 30px;
}
.growing p {
  margin: 14px 0;
}
.ink-link {
  color: #456239;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.growth-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 18px 0;
  padding: 18px 10px;
  background: #e9e8ce;
  border: 2px solid #b9bf98;
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px #f3f1db;
}
.growth-line li {
  display: grid;
  align-items: end;
  justify-items: center;
  gap: 5px;
  font: 15px var(--pixel);
  text-align: center;
}
.growth-line li + li {
  position: relative;
}
.growth-line img {
  width: 100%;
  height: clamp(40px, 6.6vw, 105px);
  object-fit: contain;
}
.lede {
  font-size: 1.15rem;
  max-width: 760px;
  color: #607052;
  margin: 14px 0 25px;
}
.guide-section {
  margin-top: 40px;
}
.guide-section h2 {
  margin-bottom: 16px;
}
.count {
  display: inline-block;
  vertical-align: middle;
  font: 500 15px/1 var(--pixel);
  padding: 5px 8px;
  margin-left: 6px;
  background: #e3eaca;
  border: 1px solid #bbc8a4;
  border-radius: 3px;
  color: #52663f;
}

/* Species cards */
.species-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 16px;
}
.species-card > div:last-child {
  padding: 10px 13px 14px;
}
.species-card h3 {
  font-size: 1.4rem;
  margin: 7px 0 4px;
}
.species-card small {
  color: #637156;
}
.botanical-art {
  height: 150px;
  background: radial-gradient(ellipse, #f4eccb, #dce2bd);
  border-bottom: 2px solid #8a6b45;
  display: grid;
  place-items: center;
}
.botanical-art img {
  height: 87%;
  width: 85%;
  object-fit: contain;
}
.rarity {
  display: inline-block;
  font: 13px var(--pixel);
  padding: 3px 7px;
  background: #e3eaca;
  color: #52663f;
  border: 1px solid #bbc8a4;
  border-radius: 3px;
}
.rarity.special {
  background: #efe4f1;
  color: #795d86;
  border-color: #d7c1df;
}
.rarity.rare {
  background: #f7e7b9;
  color: #896b32;
  border-color: #d9bd83;
}

/* Plant page */
.crumb {
  font-size: 0.84rem;
  color: #687656;
  margin-bottom: 20px;
}
.plant-feature {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: center;
}
.plant-feature h1 {
  margin: 7px 0;
}
.plant-feature .latin {
  font-family: Georgia, serif;
  font-style: italic;
  margin: 0 0 14px;
}
.plant-feature figure {
  background: radial-gradient(ellipse, #f3eaca, #dce3bd);
  padding: 20px;
  border: 3px solid #6d583d;
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 2px #d7b87c,
    0 5px 0 #4b3a25;
}
.plant-feature img {
  max-width: 78%;
  height: clamp(160px, 22vw, 290px);
  object-fit: contain;
  margin: auto;
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.facts div {
  border-bottom: 1px solid var(--line);
  padding: 7px 0;
}
.facts dt {
  font-size: 0.77rem;
  color: #6d765c;
}
.facts dd {
  font-weight: 600;
  margin: 2px 0;
}
.found-on {
  display: grid;
  grid-template-columns: minmax(120px, 220px) 1fr;
  gap: 20px;
  align-items: center;
  padding: 12px;
}
.found-on img {
  width: 100%;
  border-radius: 4px;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.found-on h2 {
  font-size: 1.7rem;
  margin: 0 0 6px;
}
.found-on .ink-link {
  display: inline-block;
  margin-top: 8px;
}
.pager {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 40px;
}
.pager a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  font: 600 18px/1.2 var(--pixel);
  transition: translate 0.12s;
  min-width: 0;
}
.pager small {
  display: block;
  font: 500 12px var(--pixel);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7a6a3f;
}
.pager .next {
  text-align: right;
  margin-left: auto;
}

/* Trails */
.trail-entry {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  align-items: center;
  gap: 26px;
  border-top: 2px dashed #cdbf93;
  padding: 26px 0;
}
.trail-entry:nth-of-type(even) > img {
  order: 2;
}
.trail-entry > img {
  width: 100%;
  border: 3px solid #6d583d;
  border-radius: 6px;
  box-shadow: 0 4px 0 #4b3a25;
}
.trail-entry h2 {
  margin: 4px 0 10px;
}
.trail-entry p + p {
  margin-top: 8px;
}
.plant-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.plant-links a {
  font: 500 14px var(--pixel);
  text-decoration: none;
  padding: 4px 9px;
  background: #e3eaca;
  border: 1px solid #bbc8a4;
  border-radius: 3px;
  color: #43573a;
}
.plant-links a:hover {
  background: #f7e7b9;
  border-color: #d9bd83;
}

/* Workshop */
.recipe-art,
.equipment-path > div {
  padding: 15px;
}
.recipe-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 14px;
  background: linear-gradient(#efe8d3, #e7dcc0);
}
.recipe-art span {
  font: 600 32px var(--pixel);
  color: #7a6a3f;
}
.recipe-art img {
  width: 20%;
  height: 100px;
  object-fit: contain;
}
.equipment-path > div {
  position: relative;
}
.step-arrow {
  position: absolute;
  left: calc(-1 * clamp(14px, 2vw, 28px) - 2px);
  top: 50px;
  width: clamp(14px, 2vw, 28px);
  text-align: center;
  font: 600 20px var(--pixel);
  color: #7a6a3f;
  z-index: 1;
}
.equipment-path img {
  height: 100px;
  margin: 0 auto 13px;
}
.equipment-path h3 {
  margin-bottom: 8px;
}
.recipes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
}
.recipes > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
}
.recipes img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex: none;
}
.recipes b {
  font: 600 18px var(--pixel);
  color: #34281a;
}
.recipes small {
  display: block;
  color: #6b5a33;
  font-weight: 600;
  font-size: 0.78rem;
}
.recipes p {
  font-size: 0.86rem;
}

/* Story pages */
.story {
  max-width: 890px;
}
.story section {
  margin-top: 28px;
}
.story section h2 {
  font-size: 1.8rem;
  margin: 0 0 8px;
}
.skies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.skies li {
  padding: 12px 14px 14px;
}
.skies b {
  display: block;
  font: 600 20px var(--pixel);
  color: #34281a;
  margin-bottom: 6px;
}
.skies p {
  margin-top: 6px;
  font-size: 0.88rem;
}
.chip {
  display: inline-block;
  font: 500 14px/1 var(--pixel);
  padding: 4px 7px;
  margin-right: 6px;
  border-radius: 3px;
  background: #efe4c4;
  border: 1px solid #d9bd83;
  color: #6b5a33;
}
.chip.wet {
  background: #dcebf0;
  border-color: #a9c7d3;
  color: #365a6b;
}
.chip.dry {
  background: #f7e0c3;
  border-color: #dfb384;
  color: #85521f;
}
.seasons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.seasons li {
  padding: 12px 8px;
  text-align: center;
  border-radius: 5px;
  border: 2px solid #8a6b45;
  box-shadow: 0 3px 0 #5a4429;
}
.seasons b {
  display: block;
  font: 600 20px var(--pixel);
  color: #34281a;
}
.seasons span {
  font-size: 0.8rem;
  color: #55624a;
}
.seasons li:nth-child(1) {
  background: #e4efc9;
}
.seasons li:nth-child(2) {
  background: #f8e5a8;
}
.seasons li:nth-child(3) {
  background: #f1cfa0;
}
.seasons li:nth-child(4) {
  background: #dde8ee;
}
.satchel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding: 10px 16px;
  margin-bottom: 8px;
}
.satchel b {
  font: 600 18px var(--pixel);
  color: #34281a;
}
.satchel span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}
.satchel img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.how-step {
  position: relative;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 20px 18px 18px;
}
.how-step > img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 4px;
  background: radial-gradient(#f4eccd, #dbe1b9);
}
.how-step .step-no {
  left: -12px;
  top: -12px;
  z-index: 1;
}
.story .how-step h2 {
  font-size: 1.6rem;
}
.controls {
  padding: 18px 22px;
}
.story .controls h2 {
  margin-bottom: 10px;
}
.controls dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed #cdbf93;
}
.controls dl > div:last-child {
  border: 0;
}
.controls dt {
  font-weight: 600;
}
.controls dd {
  margin: 0;
  color: var(--soft);
  text-align: right;
}
kbd {
  display: inline-block;
  min-width: 26px;
  margin: 0 2px;
  padding: 2px 6px;
  text-align: center;
  font: 600 14px/1.3 var(--pixel);
  color: #3d3927;
  background: linear-gradient(#fbf0d0, #ead9a8);
  border: 1px solid #8a6b45;
  border-radius: 4px;
  box-shadow: 0 2px 0 #5a4429;
}

/* Call to action */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding: 24px 28px;
  background: linear-gradient(#3a5640, #2f4a37);
  color: #fcf3d6;
  border: 3px solid var(--wood);
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 2px #5d7a58,
    0 4px 0 #1f3226;
}
.cta h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: #ffe6a3;
  text-shadow: 1px 2px #1a2c20;
}
.cta p {
  color: #e2dcc0;
  margin-top: 4px;
}
.tail {
  padding-top: 0;
}
.tail .cta {
  margin-top: 0;
}

/* 404 */
.lost {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  min-height: var(--hero-height);
}
.lost figure img {
  width: 100%;
  border: 3px solid #6d583d;
  border-radius: 6px;
  box-shadow: 0 5px 0 #4b3a25;
}
.lost-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

/* Footer */
footer {
  border-top: 4px solid var(--wood);
  box-shadow: 0 -2px 0 var(--trim);
}
footer > div {
  padding-block: 22px;
  align-items: flex-start;
}
.foot-main p {
  margin-top: 10px;
  max-width: 330px;
  color: #cfc9a9;
  font-size: 0.85rem;
}
.foot-links {
  display: grid;
  justify-items: end;
  gap: 12px;
}
.foot-links small {
  max-width: 360px;
  text-align: right;
  color: #b9b595;
  font-size: 0.76rem;
}
footer nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}
html:not([data-installable]) [data-install-app] { display: none; }
footer [data-install-app] {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
footer nav [data-install-app],
footer nav a {
  font-size: 0.82rem;
}
footer [data-install-app]:hover,
footer nav a:hover {
  color: var(--gold);
}

/* Guide tables, FAQ and cross-links */
.ledger {
  overflow-x: auto;
  margin: 14px 0;
  background: linear-gradient(#fdf8e4, #f6edcb);
  border: 2px solid #8a6b45;
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 2px #f6e4b6,
    0 3px 0 #5a4429;
}
.ledger table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.ledger th,
.ledger td {
  padding: 9px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.ledger tbody tr:last-child > * {
  border-bottom: 0;
}
.ledger thead th {
  font: 500 14px var(--pixel);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a6a3f;
  border-bottom: 2px solid #cdbf93;
}
.ledger tbody th {
  font-weight: 600;
  color: #34281a;
}
.ledger a,
.recipes small a {
  color: #456239;
}
.numbered {
  list-style: decimal;
  padding-left: 1.4em;
  margin: 8px 0 12px;
}
.numbered li + li {
  margin-top: 6px;
}
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  padding: 4px 18px;
  background: linear-gradient(#fdf8e4, #f6edcb);
  border: 2px solid #8a6b45;
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 2px #f6e4b6,
    0 3px 0 #5a4429;
}
.faq summary {
  padding: 10px 0;
  cursor: pointer;
  font: 600 20px/1.25 var(--pixel);
  color: #34281a;
}
.faq details p {
  padding-bottom: 14px;
}
.faq a {
  color: #456239;
}
.guide-links {
  margin-top: 44px;
}
.guide-links h2 {
  margin-bottom: 14px;
}
.guide-links ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.guide-links a {
  display: block;
  height: 100%;
  padding: 10px 14px;
  text-decoration: none;
  border: 1px solid #cdbf93;
  border-radius: 4px;
  background: #fbf4da;
  transition: translate 0.12s;
}
.guide-links a:hover {
  translate: 0 -2px;
  border-color: #8a6b45;
}
.guide-links b {
  display: block;
  font: 600 18px var(--pixel);
  color: #34281a;
}
.guide-links small {
  color: var(--soft);
  font-size: 0.8rem;
}
footer nav {
  max-width: 640px;
}
.botany {
  max-width: 890px;
}
.botany h2 {
  margin-bottom: 14px;
}
.botany h3 {
  margin: 20px 0 4px;
  font: 600 20px var(--pixel);
  color: #34281a;
}
.botany .ink-link {
  display: inline-block;
  margin-top: 14px;
}
.caution {
  margin-top: 18px;
  padding: 10px 14px;
  background: #f7e1c4;
  border-left: 4px solid #a4562e;
  border-radius: 0 4px 4px 0;
}
@media (max-width: 960px) {
  .loop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .map-section {
    grid-template-columns: 1fr;
  }
  .page-intro > .region-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  :root {
    --header-height: 6.5rem;
  }
  .wordmark img {
    width: 154px;
  }
  .site-head > div {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 10px 15px 0;
  }
  .site-head nav {
    order: 3;
    flex: 0 0 100%;
    margin: 0;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-head nav a {
    font-size: 0.82rem;
    padding: 8px 0 9px;
  }
  .site-head .play-link {
    margin-left: auto;
  }
}
@media (max-width: 720px) {
  .features {
    gap: 10px;
  }
  .feature-copy {
    padding: 12px;
  }
  .feature-copy p {
    font-size: 0.84rem;
  }
  .growing,
  .plant-feature,
  .lost {
    grid-template-columns: 1fr;
  }
  .growing {
    gap: 9px;
  }
  .growth-line img {
    height: 70px;
  }
  .plant-feature figure {
    grid-row: 1;
  }
  .plant-feature figure img {
    height: 150px;
  }
  .equipment-path {
    gap: 8px;
  }
  .equipment-path > div {
    padding: 10px;
  }
  .equipment-path p {
    font-size: 0.83rem;
  }
  .equipment-path img {
    height: 65px;
  }
  .step-arrow {
    display: none;
  }
  .trail-entry {
    grid-template-columns: 1fr 1.5fr;
    gap: 14px;
  }
  .trail-entry:nth-of-type(even) > img {
    order: 0;
  }
  .recipes,
  .skies {
    grid-template-columns: 1fr;
  }
  .species-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .botanical-art {
    height: 120px;
  }
  footer > div {
    flex-direction: column;
    gap: 16px;
  }
  .foot-links {
    justify-items: start;
  }
  .foot-links small {
    text-align: left;
  }
  footer nav {
    justify-content: flex-start;
  }
}
@media (max-width: 520px) {
  .site-head .play-link {
    font-size: 15px;
  }
  .features,
  .loop {
    grid-template-columns: 1fr;
  }
  .loop li {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 0 14px;
    text-align: left;
    align-items: center;
    padding: 14px 14px 14px 44px;
  }
  .loop li img {
    grid-row: span 2;
    height: 64px;
    width: 70px;
    margin: 0;
  }
  .loop .step-no {
    top: 50%;
    translate: 0 -50%;
  }
  .feature {
    display: grid;
    grid-template-columns: 32% 1fr;
  }
  .feature-art {
    height: 100%;
    min-height: 118px;
    border-bottom: 0;
    border-right: 2px solid #8a6b45;
  }
  .feature-copy h3 {
    font-size: 1.4rem;
  }
  .feature-copy p {
    line-height: 1.4;
  }
  .growth-line {
    gap: 3px;
  }
  .growth-line li {
    font-size: 12px;
  }
  .growth-line img {
    height: 50px;
  }
  .gardeners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trail-entry {
    grid-template-columns: 1fr;
  }
  .trail-entry > img {
    max-height: 170px;
    object-fit: cover;
  }
  .equipment-path {
    grid-template-columns: 1fr;
  }
  .equipment-path > div {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 4px 12px;
    align-items: center;
  }
  .equipment-path img {
    grid-row: span 2;
    height: 55px;
  }
  .equipment-path h3 {
    margin: 0;
  }
  .region-chips,
  .page-intro > .region-chips {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .region-chips img {
    width: 38px;
    height: 38px;
  }
  .region-chips b {
    font-size: 14px;
  }
  .found-on {
    grid-template-columns: 96px 1fr;
    gap: 12px;
  }
  .found-on h2 {
    font-size: 1.35rem;
  }
  .found-on p {
    font-size: 0.88rem;
  }
  .cta {
    flex-wrap: wrap;
    padding: 18px;
  }
  .story h1 {
    font-size: 2.4rem;
  }
  .seasons {
    grid-template-columns: repeat(2, 1fr);
  }
  .how-step {
    grid-template-columns: 60px 1fr;
    gap: 12px;
    padding: 14px;
  }
  .how-step > img {
    width: 60px;
    height: 60px;
  }
  .controls dl > div {
    flex-direction: column;
    gap: 4px;
  }
  .controls dd {
    text-align: left;
  }
  .pager a {
    font-size: 15px;
    padding: 8px 12px;
  }
}
@media (max-width: 370px) {
  .cover-actions {
    gap: 13px;
    flex-wrap: wrap;
  }
  .cover-actions .play-link {
    padding: 11px 14px;
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

.desktop-downloads {
  background: var(--parch-2);
  border-top: 2px solid var(--line);
}
.download-intro { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 30px; }
.download-intro p { margin: .55rem 0 0; max-width: 58ch; color: var(--soft); }
.download-intro strong { color: var(--forest); font: 1.35rem var(--pixel); }
.download-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr));
  gap: .8rem;
  margin-top: 1.4rem;
}
.download-platforms a {
  display: grid;
  gap: .3rem;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border: 2px solid var(--wood-line);
  border-radius: 5px;
  box-shadow: 0 3px 0 var(--trim);
  text-decoration: none;
}
.download-platforms a:hover { border-color: var(--forest); background: #fffdf0; }
.download-platforms b { font: 1.55rem var(--pixel); color: var(--forest); }
.download-platforms span { font-size: .85rem; color: var(--soft); }
.download-pending { margin-top: 1rem; }

.download-notes { display: inline-block; margin-top: 1rem; }
