:root {
  color-scheme: light;
  --bg: #f7f3ef;
  --text: #3e2c1a;
  --brand: #7c5c3e;
  --line: #d8ccbc;
  --paper: #fffdf9;
  --focus: #194d3a;
}
* { box-sizing: border-box; }
html { font-size: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
a { color: #594027; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: #194d3a; text-decoration-thickness: .14em; }
a:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 2px;
}
.skip-link {
  position: absolute;
  z-index: 10;
  left: 1rem;
  top: .5rem;
  transform: translateY(-180%);
  padding: .65rem 1rem;
  background: white;
  color: var(--text);
  border: 2px solid var(--focus);
}
.skip-link:focus { transform: none; }
.site-header, .site-footer, main { width: min(56rem, calc(100% - 2rem)); margin-inline: auto; }
.site-header {
  padding-block: 1.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; min-height: 44px; }
.brand img { width: 76px; height: auto; flex-shrink: 0; }
.brand-name { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; line-height: 1.25; }
.brand-caption { display: block; font-size: .88rem; color: #65533f; }
.home-link { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .15rem; }
main {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(1.25rem, 4vw, 3rem);
  box-shadow: 0 4px 24px rgb(124 92 62 / 5%);
}
h1, h2, h3 { line-height: 1.25; }
h1 { margin: 0 0 .65rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; }
h2 { margin: 2rem 0 .6rem; font-size: 1.35rem; }
h3 { margin: 1.45rem 0 .5rem; font-size: 1.12rem; }
p { margin: .65rem 0 1rem; }
li { margin-block: .45rem; }
ul { padding-inline-start: 1.4rem; }
address { font-style: normal; }
.intro { font-size: 1.1rem; }
.updated { color: #65533f; font-size: .94rem; margin: .25rem 0 1.5rem; }
.contact-box { padding: 1rem 1.2rem; border-left: 4px solid var(--brand); background: #f4eee5; border-radius: 0 8px 8px 0; }
.contact-box p:last-child { margin-bottom: 0; }
.contents { border-block: 1px solid var(--line); padding-block: .7rem; margin-block: 1.6rem; }
.contents ul { margin: .25rem 0; }
.contents a { display: inline-block; padding-block: .2rem; }
.site-footer { padding-block: 1.35rem 2rem; color: #65533f; font-size: .94rem; }
.footer-links { display: flex; gap: .35rem 1.2rem; flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links [aria-current="page"] { font-weight: 700; }
@media (max-width: 420px) {
  .site-header, .site-footer, main { width: min(56rem, calc(100% - 1.25rem)); }
  .brand-name { font-size: 1.25rem; }
  .brand img { width: 58px; }
}
@media (forced-colors: active) {
  main, .contact-box { border: 1px solid CanvasText; }
}
@media print {
  body { background: white; font-size: 11pt; }
  .site-header, .site-footer, main { width: 100%; }
  main { border: 0; padding: 0; box-shadow: none; }
  .skip-link, .home-link, .contents, .footer-links { display: none; }
  h2, h3 { break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
}
