:root {
  --paper:#faf7ec;
  --ink:#253933;
  --teal:#155c65;
  --clay:#854524;
  --line:#c9c8b7;
  --white:#fffdf6;
  --sans:"DM Sans","Segoe UI",sans-serif;
  --serif:"Baskervville",Georgia,serif;
  color-scheme:light;
}
* {
  box-sizing:border-box;
}
body {
  background:var(--paper);
  color:var(--ink);
  margin:0;
  font:1rem/1.55 var(--sans);
}
a {
  color:var(--teal);
  text-underline-offset:3px;
}
a:focus-visible,button:focus-visible,select:focus-visible,textarea:focus-visible,input:focus-visible,summary:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #1275a3;
  outline-offset:3px;
}
.skip {
  position:fixed;
  z-index:3;
  top:-5rem;
  left:1rem;
  background:white;
  padding:.5rem 1rem;
}
.skip:focus {
  top:.5rem;
}
header,footer {
  border-bottom:1px solid var(--line);
}
footer {
  border-top:1px solid var(--line);
  border-bottom:0;
}
.bar,main {
  width:min(1160px,calc(100% - 54px));
  margin:auto;
}
.bar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:66px;
  gap:1rem;
}
.brand {
  font:700 1.2rem var(--serif);
  color:var(--ink);
  text-decoration:none;
}
nav,.actions {
  display:flex;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
}
nav a {
  font-weight:650;
  font-size:.94rem;
  text-decoration:none;
}
nav a[aria-current=page],nav a:hover {
  text-decoration:underline;
  text-underline-offset:6px;
}
footer .bar {
  font-size:.88rem;
}
h1,h2,h3,p,figure {
  margin:0 0 1rem;
}
h1,h2,h3 {
  font-family:var(--serif);
  line-height:1.06;
  letter-spacing:-.035em;
  text-wrap:balance;
}
h1 {
  font-size:clamp(2.5rem,5.9vw,5.4rem);
}
h2 {
  font-size:clamp(1.65rem,3vw,2.5rem);
}
h3 {
  font-size:1.35rem;
}
.eyebrow {
  font-size:.76rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:750;
  color:var(--clay);
  margin:0 0 .65rem;
}
.deck {
  font-size:clamp(1.08rem,1.7vw,1.31rem);
  max-width:55ch;
}
.hero {
  display:grid;
  grid-template-columns:.83fr 1.17fr;
  gap:clamp(1.1rem,3vw,3.4rem);
  align-items:center;
  padding:2.4rem 0 2.6rem;
}
.hero img {
  width:100%;
  height:auto;
  display:block;
  border:1px solid #ccc1a6;
}
.hero-copy h1 {
  margin-bottom:1.1rem;
}
.choice {
  display:grid;
  gap:.5rem;
  max-width:340px;
}
.route-link {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:.65rem .9rem;
  color:var(--white);
  text-decoration:none;
  font-weight:700;
  border-radius:2px;
}
.north,.button {
  background:var(--teal);
}
.south,.ochre {
  background:var(--clay)!important;
}
.print-shelf,.listen {
  padding:1.9rem 0 2.5rem;
  border-top:1px solid var(--line);
}
.downloads {
  padding:0;
  list-style:none;
  max-width:780px;
}
.downloads li {
  display:flex;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
  border-bottom:1px solid var(--line);
  padding:.65rem 0;
}
.headline {
  padding:2rem 0 1rem;
}
.headline h1 {
  font-size:clamp(2.55rem,5.5vw,4.35rem);
}
.plate-layout,.workspace {
  display:grid;
  grid-template-columns:minmax(0,1.38fr) minmax(0,.85fr);
  gap:clamp(1.25rem,3vw,3.6rem);
  align-items:start;
  padding:0 0 2.2rem;
}
.sources h2 {
  font-size:clamp(1.35rem,2vw,1.85rem);
}
.sources p {
  max-width:54ch;
}
.sources h2:not(:first-child) {
  margin-top:1.6rem;
}
.button,button {
  font:650 .97rem var(--sans);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:.48rem .85rem;
  border-radius:3px;
  line-height:1.26;
  cursor:pointer;
}
.button {
  color:white;
  border:1px solid transparent;
  text-decoration:none;
}
button {
  background:var(--white);
  color:var(--ink);
  border:1px solid #858c87;
}
.start {
  margin-top:1.4rem;
}
.mapbox {
  background:#f9f7e9;
  width:100%;
  min-width:0;
  max-width:100%;
  border:1px solid var(--line);
  overflow:auto;
}
.mapbox img,.mapbox svg {
  width:100%;
  height:auto;
  display:block;
}
.mapbox.large svg {
  min-width:730px;
}
.workspace>section,.plate-layout>section {
  min-width:0;
}
.enlarged {
  max-width:100%;
  overflow:auto;
}
.enlarged img {
  display:block;
  width:max(700px,100%);
  max-width:none;
  height:auto;
}
figcaption,.note,.status {
  font: .9rem/1.5 var(--sans);
}
figcaption {
  color:#515e57;
  padding:.4rem 0;
}
.map-words {
  border-top:1px solid var(--line);
  padding:.62rem 0;
}
.map-words summary {
  font-weight:650;
  cursor:pointer;
  color:var(--teal);
}
.map-words h3 {
  margin:.9rem 0 .3rem;
}
.map-words p {
  margin:.5rem 0;
}
.labels {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.55rem;
  margin:.6rem 0;
}
.labels dt {
  font-size:.82rem;
}
.labels dd {
  margin:0;
  font-weight:700;
}
.listen>p {
  max-width:76ch;
}
.reading {
  max-width:800px;
  padding:2.2rem 0 3rem;
}
.reading h2 {
  font-size:1.8rem;
  margin:1.6rem 0 .8rem;
}
.reading ol {
  padding-left:1.45rem;
}
.reading li {
  margin:.4rem 0;
}
.switch {
  display:flex;
  gap:.45rem;
  flex-wrap:wrap;
  margin:0 0 1.4rem;
}
.switch button[aria-pressed=true] {
  background:var(--teal);
  border-color:var(--teal);
  color:white;
}
.mapheading {
  display:flex;
  gap:.7rem;
  align-items:center;
  justify-content:space-between;
  margin-bottom:.5rem;
}
.mapheading h2,.mapheading p {
  margin-bottom:.25rem;
}
.mapheading button {
  font-size:.83rem;
  min-width:92px;
}
.labelbox h2 {
  font-size:1.8rem;
}
.bank,.places {
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
}
.bank button,.places button {
  min-height:42px;
}
.bank button[aria-pressed=true] {
  background:var(--teal);
  color:white;
  border-color:var(--teal);
}
.bank button[data-used='yes'] {
  border-style:dashed;
}
.selection {
  margin:.75rem 0 .35rem;
  font-weight:650;
}
.places {
  margin-bottom:.5rem;
}
.places button {
  font-size:.9rem;
}
.plain {
  display:block;
  margin:.55rem 0;
}
.status {
  margin:.45rem 0;
  color:var(--teal);
  min-height:1.45em;
}
.working [data-socket] {
  cursor:pointer;
}
.working [data-socket]:focus-visible {
  stroke:#0764a1;
  stroke-width:4px;
  outline:0;
}
.working [data-value] {
  pointer-events:none;
}
.caption {
  max-width:850px;
  padding:1.5rem 0 2.4rem;
  border-top:1px solid var(--line);
}
.caption label {
  display:block;
  font-weight:650;
  margin:.8rem 0 .28rem;
}
.caption select,.caption textarea {
  box-sizing:border-box;
  width:100%;
  border:1px solid #7e8981;
  background:white;
  padding:.43rem .55rem;
  border-radius:3px;
  color:var(--ink);
  font:1rem var(--sans);
  min-height:42px;
}
.caption textarea {
  resize:vertical;
}
.caption .checkline {
  display:flex;
  align-items:center;
  gap:.55rem;
  font-weight:400;
}
.caption input {
  width:1.14rem;
  height:1.14rem;
}
.caption .actions {
  margin-top:.83rem;
}
.attributions {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem;
}
#poster {
  display:none;
}
[hidden] {
  display:none!important;
}
@media(max-width:740px) {
  .bar,main {
    width:calc(100% - 30px);
  }
  .bar {
    flex-wrap:wrap;
    gap:.5rem;
    padding:.7rem 0;
  }
  nav {
    gap:.75rem;
  }
  .hero,.plate-layout,.workspace {
    grid-template-columns:minmax(0,1fr);
  }
  .hero {
    padding:1.6rem 0;
  }
  .hero img {
    max-height:430px;
    object-fit:contain;
  }
  .choice {
    max-width:100%;
  }
  .plate-layout,.workspace {
    gap:1.2rem;
  }
  .headline {
    padding:1.55rem 0 .5rem;
  }
  .downloads li {
    gap:.35rem;
  }
  .attributions {
    grid-template-columns:1fr;
    gap:0;
  }
  .bank button {
    font-size:.91rem;
  }
  .caption h2 {
    font-size:1.75rem;
  }
}
@page {
  size:letter landscape;
  margin:12mm;
}
@media print {
  body {
    background:white;
    color:#15201c;
  }
  header,footer,.skip,nav,.actions,.start,.choice,.listen,.print-shelf {
    display:none!important;
  }
  main {
    width:100%;
    margin:0;
  }
  .pupil main>* {
    display:none!important;
  }
  .pupil #poster {
    display:block!important;
  }
  #poster h1 {
    font-size:22pt;
    margin:0;
  }
  #poster p {
    margin:1.4mm 0;
    font:10.8pt/1.27 Arial,sans-serif;
    overflow-wrap:anywhere;
    white-space:pre-wrap;
  }
  #poster h2 {
    font-size:14pt;
    margin:1mm 0;
  }
  .print-maps {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7mm;
    margin:3mm 0 4mm;
  }
  .print-maps svg {
    width:100%;
    height:auto;
    display:block;
  }
  .print-maps section {
    break-inside:avoid;
  }
  .plate-layout {
    grid-template-columns:1.15fr 1fr;
  }
  .map-words {
    display:none;
  }
  .hero img {
    width:130mm;
  }
  * {
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }
}
