/* Match the approved homepage header and footer on the five legacy pages. */
body > :is(header, footer) {
  --home-script: "Tangerine", "Apple Chancery", cursive;
  --home-serif: "Source Serif 4", "Georgia", "Times New Roman", serif;
  background: #efe3c9;
  color: #f1e4d0;
  font: 300 17px/1.7 "Roboto", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
}

body > header { border-bottom: 1px solid #dccaa5; }
body > footer { border-top: 1px solid #dccaa5; }

body > :is(header, footer) > .wrap {
  box-sizing: content-box;
  width: auto;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  text-align: center;
}

body > header > .wrap { padding-block: 22px 16px; }
body > footer > .wrap { padding-block: 34px; }

body > header .logo {
  width: min(300px, 78%);
  margin: 0 auto;
}

body > header .tag {
  font: 700 clamp(32px, 6vw, 44px)/1 var(--home-script);
  color: #9b1b2e;
  margin-top: 6px;
}

body > :is(header, footer) nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  justify-content: center;
  margin-top: 16px;
  font-size: 15px;
}

body > :is(header, footer) nav a {
  color: #2b1a16;
  text-decoration: none;
}

body > :is(header, footer) nav a:focus-visible {
  outline: 2px solid #d9b56f;
  outline-offset: 3px;
}

body > footer nav { margin-top: 18px; }
body > footer .fleaf { width: 42px; margin: 0 auto 6px; }

body > footer .ftag {
  font: 700 clamp(32px, 6vw, 42px)/1 var(--home-script);
  color: #9b1b2e;
}

body > footer .fline {
  font: italic 400 19px/1.5 var(--home-serif);
  color: #5e4440;
  margin: 14px auto 4px;
  max-width: 32em;
}

body > footer small {
  display: block;
  margin-top: 22px;
  color: #7a5f55;
  font-size: 13px;
}
