@import url("/base.css");
:root {
  color-scheme: light;
  --ink: #252c2c;
  --bg: #faf7ef;
  --line: #cdc9ba;
}
body {
  background:
    radial-gradient(ellipse at top left, #f7ebd8, transparent 53rem), var(--bg);
  color: var(--ink);
}
.mast,
main,
footer {
  width: min(1160px, 90%);
  margin: auto;
}
.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 780;
  text-decoration: none;
  letter-spacing: -0.05em;
}
.wordmark img {
  width: 62px;
  height: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.65rem);
}
nav a,
footer a {
  font-weight: 620;
  text-underline-offset: 0.25em;
}
.mast nav a {
  text-decoration: none;
}
.mast nav a:hover {
  text-decoration: underline;
}
.introduction {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
  padding: clamp(2.4rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.2rem);
}
h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}
h1,
h2,
.world-card h3 {
  font-family: "Baskervville", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.05em;
}
h1 {
  font-size: clamp(2.8rem, 5.7vw, 5.25rem);
  line-height: 1;
}
.introduction p {
  font-size: clamp(1.05rem, 1.5vw, 1.23rem);
  max-width: 41ch;
  line-height: 1.55;
  margin: 0;
  color: #47504e;
}
h2 {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.1;
}
.world-hint {
  color: #515958;
  margin: 0.4rem 0 1.25rem;
}
.world-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.3vw, 1.65rem);
}
.world-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #38271e;
  background: #f2e4d0;
  border: 1px solid #a59986;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.18s;
}
.world-card:nth-child(even) {
  background: #173831;
  color: #fff1cc;
  border-color: #2d4d46;
}
.world-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
}
.world-card:focus-visible,
a:focus-visible {
  outline: 3px solid #a23814;
  outline-offset: 4px;
}
.world-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.95;
  object-fit: cover;
  object-position: 50% 38%;
  display: block;
}
.world-caption {
  padding: 1rem clamp(1rem, 2vw, 1.65rem) 1.4rem;
  position: relative;
  flex: 1;
}
.world-caption span {
  font-size: 0.76rem;
  font-weight: 730;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.world-card h3 {
  font-size: clamp(1.8rem, 3.15vw, 3rem);
  line-height: 1.12;
  padding-right: 1.9rem;
  margin: 0.3rem 0;
}
.world-card p {
  max-width: 48ch;
  margin: 0.5rem 0 0;
  line-height: 1.5;
}
.world-caption b {
  position: absolute;
  top: 1.4rem;
  right: 1.3rem;
  font-size: 1.4rem;
}
#community {
  margin: clamp(2.8rem, 6vw, 5rem) 0 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
#community p {
  max-width: 71ch;
}
#community nav {
  flex-wrap: wrap;
}
footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.4rem;
  font-size: 0.9rem;
}
.skip:not(:focus) {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 680px) {
  .introduction {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .world-grid {
    grid-template-columns: 1fr;
  }
  .world-card > img {
    aspect-ratio: 2.4;
  }
  .mast {
    min-height: 64px;
  }
  .mast nav {
    font-size: 0.84rem;
  }
  .wordmark img {
    width: 42px;
  }
  .world-card:hover {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .world-card {
    transition: none;
    transform: none;
  }
}
.mast nav {flex-wrap:wrap}
@media(max-width:680px){.mast nav{justify-content:flex-end;gap:.4rem .7rem}.mast{padding-block:.55rem}}
.detail-picker {display:flex;flex-wrap:wrap;gap:.5rem 1.4rem;border:1px solid var(--line);margin:1rem 0;padding:.65rem 1rem;border-radius:.4rem}
.detail-picker legend {font-weight:650}
