:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e332e;
  background: #f7f3ea;
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; }
header, main, footer { width: min(100% - 2.5rem, 47rem); margin-inline: auto; }
header, nav { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.4rem; }
header { justify-content: space-between; padding-block: 1.25rem; border-bottom: 1px solid #d8d4c5; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font: bold 1.5rem Georgia, serif; }
.brand::before {
  content: ""; width: 1.25rem; height: 1.25rem; background: #37624c;
  clip-path: polygon(50% 0, 62% 21%, 85% 15%, 79% 38%, 100% 50%, 79% 62%, 85% 85%, 62% 79%, 50% 100%, 38% 79%, 15% 85%, 21% 62%, 0 50%, 21% 38%, 15% 15%, 38% 21%);
}
a { color: #23533f; text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { color: #783e23; }
a:focus-visible, summary:focus-visible { outline: 3px solid #975720; outline-offset: 3px; }
nav { font-size: .9375rem; }
nav [aria-current] { font-weight: 650; }
main { padding-block: clamp(2.2rem, 6vw, 4.3rem) 3rem; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; text-wrap: balance; line-height: 1.16; }
h1 { font-size: clamp(2.15rem, 6.5vw, 3.6rem); margin: 0 0 1rem; }
h2 { font-size: 1.55rem; margin: 0 0 .6rem; }
p { margin: .6rem 0 0; }
.lead { font-size: 1.125rem; }
section { margin-top: 2.2rem; max-width: 70ch; }
.contact { background: #fffdf6; border: 1px solid #d8d4c5; border-radius: 1rem; padding: clamp(1.1rem, 4vw, 1.7rem); }
details { border-bottom: 1px solid #d8d4c5; }
summary { cursor: pointer; padding-block: .85rem; font-weight: 600; }
details p { margin: 0 0 1rem; }
footer { padding-block: 1rem 2rem; border-top: 1px solid #d8d4c5; }
.email { display: inline-block; margin-top: 1rem; font-size: 1.125rem; font-weight: 650; }
.language-switcher button {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
  background: transparent; color: #23533f; border: 1px solid #bfc6b8; border-radius: 50%; cursor: pointer;
}
.language-switcher button:hover, #languages a:hover, #languages [aria-current] { background: #dce7d3; }
.language-switcher button:focus-visible { outline: 3px solid #975720; outline-offset: 3px; }
#languages {
  inset: auto; margin: .35rem 0; padding: .35rem; min-width: 10rem;
  color: inherit; background: #fffdf6; border: 1px solid #c9cdbf; border-radius: .7rem;
  box-shadow: 0 .4rem 1.2rem #1e332e22;
}
#languages:popover-open { display: grid; }
html[dir="ltr"] #languages { transform: translateX(calc(2.75rem - 100%)); }
html[dir="rtl"] #languages { transform: translateX(calc(100% - 2.75rem)); }
#languages a { display: flex; justify-content: space-between; padding: .55rem .7rem; text-decoration: none; border-radius: .4rem; }
