@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fff7f0;
  --peach: #ffe7d6;
  --ink: #231811;
  --muted: #6b5044;
  --accent: #b93500;
  --orange: #ff5000;
  --line: #e6cdbb;
  --charcoal: #30221a;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --gutter: clamp(18px, 4vw, 56px);
  --width: 88rem;
  scroll-padding-block-start: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--sans);
}
main { flex: 1; min-inline-size: 0; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: .19em; }
a:hover { text-decoration-thickness: .12em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { color: var(--ink); background: #ffc497; }
[hidden] { display: none !important; }
.wrap { width: min(100%, var(--width)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.skip {
  position: fixed;
  inset: .75rem auto auto .75rem;
  z-index: 3;
  transform: translateY(-160%);
  padding: .75rem 1rem;
  color: #fff;
  background: var(--accent);
}
.skip:focus { transform: translateY(0); }
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: .6rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: white;
  background: var(--accent);
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.button:hover { border-color: #932b00; background: #932b00; }
.text-link { font-weight: 600; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .65rem;
  flex: none;
  color: inherit;
  text-decoration: none;
  font-size: clamp(1.17rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.site-brand img { width: 33px; height: 33px; object-fit: contain; }
.site-english .site-brand {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.45vw, 2.05rem);
  font-weight: 400;
  letter-spacing: -.02em;
}
.site-english .site-brand img { width: 35px; }
.site-english .site-header { border-bottom-color: #d76b42; }
.primary-nav { display: flex; align-items: center; gap: clamp(.75rem, 2.4vw, 2.25rem); }
.primary-nav > a:not(.button) { display: inline-flex; min-height: 44px; align-items: center; color: inherit; font-size: .95rem; text-decoration: none; }
.primary-nav > a:hover:not(.button), .primary-nav > a[aria-current="page"]:not(.button) { color: var(--accent); text-decoration: underline; }
.primary-nav .external { gap: .35em; color: var(--accent); }
.mobile-menu { display: none; }
.mobile-menu summary {
  min-height: 44px;
  padding: .65rem .15rem .65rem .5rem;
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}
.site-english .mobile-menu summary { color: var(--accent); }
.mobile-nav { display: grid; gap: .25rem; padding-block-end: 1rem; }
.mobile-nav > a:not(.button) { display: flex; min-height: 44px; align-items: center; padding: .25rem .35rem; color: inherit; text-decoration: none; }
.mobile-nav > a:hover:not(.button), .mobile-nav [aria-current="page"] { text-decoration: underline; }
.site-footer { margin-top: clamp(1.25rem, 4vw, 3rem); padding-block: 1rem; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: .75rem 2rem; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: .25rem 1.3rem; flex-wrap: wrap; }
.site-footer nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: .9rem; }
.site-footer p { padding-block: .45rem; font-size: .84rem; color: var(--muted); }
.site-agents .site-footer { background: var(--charcoal); color: var(--paper); }
.site-agents .site-footer a { color: inherit; }
.site-agents .site-footer p { color: #f1d6c4; }
.site-agents .site-footer :focus-visible { outline-color: #ffad7d; }
.site-english .site-footer { border-top-color: #d76b42; }
.preview-notice {
  margin: 0;
  padding: .4rem var(--gutter);
  border-bottom: 1px solid #ecd5c5;
  background: #fff1e2;
  color: #644335;
  font-size: .84rem;
}
@media (max-width: 820px) {
  .header-row { position: relative; display: block; min-height: 58px; padding-block: .3rem; }
  .site-brand { gap: .45rem; }
  .site-brand img, .site-english .site-brand img { width: 28px; height: 28px; }
  .primary-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { position: absolute; inset: .3rem var(--gutter) auto auto; }
  .footer-row { align-items: start; gap: .2rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
