@font-face {
  font-family: Fredoka;
  src: url("./fredoka.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300 700;
}
:root {
  color-scheme: dark;
  --soil: #20170e;
  --paper: #fff1d3;
  --muted: #d6bd9d;
  --gold: #ffc65f;
  --line: #71543b;
  --display: Fredoka, "Trebuchet MS", system-ui, sans-serif;
  font: 1rem/1.6 system-ui, sans-serif;
  color: var(--paper);
  background: var(--soil);
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #ffe5a6; outline-offset: 5px; }
.wrap { width: min(74rem, calc(100% - 3rem)); margin-inline: auto; }
.top { border-bottom: 1px solid #ffffff1c; }
.top-inner {
  min-height: 4.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.5rem;
  flex-wrap: wrap;
  padding-block: .75rem;
}
.brand, nav { display: flex; align-items: center; }
.brand { gap: .7rem; font: 550 1.08rem/1.2 var(--display); text-decoration: none; }
.brand img { border-radius: .55rem; }
nav { gap: clamp(.9rem, 3vw, 2rem); color: var(--muted); font-size: .9rem; }
nav a, .footer a { text-underline-offset: .24em; }
nav a:hover, .footer a:hover { color: var(--gold); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(2.8rem, 7vw, 6.5rem);
}
.eyebrow {
  display: flex;
  gap: .65rem;
  align-items: center;
  margin: 0 0 1rem;
  color: var(--gold);
  font-weight: 740;
  font-size: .86rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.eyebrow span { width: 1.15rem; height: 2px; background: currentColor; }
h1,h2,h3 { font-family: var(--display); margin: 0; line-height: .98; font-weight: 650; }
h1 { font-size: clamp(4rem, 8vw, 7.1rem); letter-spacing: -.035em; }
h1 em { color: var(--gold); font-style: normal; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.35rem); max-width: 27rem; margin: 1.4rem 0 1.55rem; }
.button {
  min-height: 3.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.2rem;
  border: 1px solid var(--gold);
  border-radius: .6rem;
  color: #2c1909;
  background: var(--gold);
  font-weight: 750;
  text-decoration: none;
}
.button:hover { background: #ffdb8e; }
.access p { color: var(--muted); font-size: .9rem; margin: .7rem 0 0; }
.hero-art {
  position: relative;
  isolation: isolate;
  margin: 0;
  border: 1px solid #d49855;
  border-radius: 34% 34% 1.25rem 1.25rem / 24% 24% 1.25rem 1.25rem;
  background: #da803d;
  box-shadow: .75rem .75rem 0 #100c08;
  overflow: hidden;
}
.hero-art img { width: 100%; height: auto; }
.game {
  background: #332318;
  border-block: 1px solid #ffffff1f;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  scroll-margin-top: 1rem;
}
.intro { max-width: 40rem; margin-bottom: clamp(1.75rem, 5vw, 3rem); }
h2 { font-size: clamp(2.45rem, 6vw, 4rem); letter-spacing: -.02em; }
.intro > p:last-child { font-size: 1.1rem; color: var(--muted); }
.scenes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 4vw, 2.5rem); }
.scene { margin: 0; }
.scene-image {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 1rem;
  min-height: 20rem;
  padding: 1rem;
}
.scene-image.day { background: radial-gradient(ellipse at 50% 5%,#b96f38,#563318 75%); }
.scene-image.night { background: radial-gradient(ellipse at 50% 5%,#7c5b4b,#302728 75%); }
.scene-image img {
  width: min(65%, 16rem);
  height: auto;
  border-radius: .65rem;
  border: 2px solid #21160e;
  box-shadow: 0 .75rem 2rem #0006;
}
figcaption { padding: 1.15rem 0 0; }
h3 { font-size: 1.55rem; }
figcaption p { color: var(--muted); margin: .65rem 0 0; max-width: 30rem; }
.footer { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; padding-block: 1.5rem; color: var(--muted); }
.footer p { margin: 0; }
.footer strong { color: var(--paper); }
@media (max-width: 48rem) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 36rem; }
  h1 { font-size: clamp(3.85rem, 13vw, 6rem); }
}
@media (max-width: 34rem) {
  .wrap { width: calc(100% - 2rem); }
  .scenes { grid-template-columns: 1fr; gap: 2rem; }
  .scene-image { min-height: auto; }
}
