@font-face {
  font-family: "Literata";
  src: url("fonts/literata-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("fonts/literata-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("fonts/literata-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3eee4;
  --paper-deep: #e6dccb;
  --card: #fffdf8;
  --ink: #241c18;
  --muted: #53483f;
  --brick: #8e2f2a;
  --brick-dark: #6e241f;
  --reed: #2c4a3e;
  --straw: #e6d3a4;
  --line: #d5c8b2;
  --focus: #1c4f86;
  --max: 70rem;
  --sans: "Source Sans 3", "Noto Sans", "Segoe UI", sans-serif;
  --serif: "Literata", "Noto Serif", "Iowan Old Style", Palatino, Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 100% -8%, #efe2c8 0%, transparent 60%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  hyphens: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brick-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brick);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: var(--straw);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 0.9rem;
  z-index: 50;
}

.skip:focus {
  top: 0.6rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fffdf8;
  border-bottom: 1px solid var(--line);
}

.mock-note {
  margin: 0;
  background: var(--reed);
  color: #f6f1e7;
  font-size: 0.92rem;
  line-height: 1.4;
  padding: 0.45rem 1rem;
  text-align: center;
}

.mock-note a {
  color: #f6e2a8;
}

.mock-short {
  display: none;
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.45rem 0;
}

.brand {
  display: flex;
  align-items: center;
  order: 1;
  text-decoration: none;
}

.brand img {
  width: 8.6rem;
  height: auto;
  mix-blend-mode: multiply;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: 2;
  min-height: 48px;
  min-width: 48px;
  margin-left: auto;
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle:focus-visible + .nav-toggle-label {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

nav.desktop-nav,
.mobile-nav {
  display: none;
}

.mobile-nav {
  flex-basis: 100%;
  order: 3;
  flex-direction: column;
  gap: 0;
  padding: 0.2rem 0 0.45rem;
}

.nav-toggle:checked ~ .mobile-nav {
  display: flex;
}

.site-nav {
  display: flex;
}

nav.mobile-nav {
  display: none;
}

.nav-toggle:checked ~ nav.mobile-nav {
  display: flex;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.site-nav a[aria-current="page"] {
  color: var(--brick-dark);
  box-shadow: inset 4px 0 0 var(--brick);
  padding-left: 0.7rem;
}

.site-nav a.nav-spend {
  color: var(--brick-dark);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.05rem, 4.4vw, 3.55rem);
  margin: 0 0 0.9rem;
}

h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.28rem;
  margin: 0 0 0.3rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brick-dark);
}

.lead {
  font-size: 1.2rem;
  max-width: 40rem;
  margin-bottom: 0.4rem;
}

.quiet {
  color: var(--muted);
  font-size: 0.98rem;
}

.page-head {
  padding: 2.2rem 0 0.4rem;
}

.section {
  padding: 2.6rem 0;
}

.tint {
  background: rgba(255, 253, 248, 0.62);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.prose {
  max-width: 42rem;
}

.prose p:last-child,
.lead:last-child {
  margin-bottom: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.1rem;
  background: var(--brick);
  color: #fffdf8;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--brick);
  border-radius: 2px;
}

.btn:hover {
  background: var(--brick-dark);
  border-color: var(--brick-dark);
  color: #fff;
}

.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn.secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  display: grid;
  gap: 1.6rem;
  padding: 1.5rem 0 2.4rem;
  align-items: start;
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  object-position: center 35%;
  border: 1px solid var(--line);
  box-shadow: 8px 8px 0 var(--straw);
}

.hero-photo figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.where {
  margin: 1rem 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  gap: 1.5rem;
}

.pull {
  margin: 0;
  padding: 1.3rem 1.2rem 1.1rem;
  background: var(--straw);
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.pull footer {
  margin-top: 0.9rem;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0;
  color: var(--muted);
}

.work,
.paths {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.work li,
.paths li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.num {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--brick);
}

.work p,
.paths p {
  margin: 0.25rem 0 0;
}

.band {
  background: var(--reed);
  color: #f6f1e7;
}

.band a {
  color: #f6e2a8;
}

.band h2,
.band .kicker {
  color: #f6e2a8;
}

.band .btn {
  background: #f6f1e7;
  color: var(--reed);
  border-color: #f6f1e7;
}

.band .btn:hover {
  background: var(--straw);
  border-color: var(--straw);
  color: var(--ink);
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin: 0.4rem 0 0.2rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.toc a {
  font-weight: 700;
  text-decoration-thickness: 1px;
}

.profile {
  display: grid;
  gap: 1rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.profile figure {
  margin: 0;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.profile img {
  width: 100%;
  max-height: 26rem;
  object-fit: contain;
  object-position: center;
  margin-inline: auto;
}

.profile figcaption {
  padding: 0.45rem 0.7rem 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.facts {
  display: grid;
  grid-template-columns: minmax(7.5rem, 11rem) 1fr;
  gap: 0.28rem 0.8rem;
  margin: 0.9rem 0;
  font-size: 1.02rem;
}

.facts dt {
  margin: 0;
  color: var(--muted);
}

.facts dd {
  margin: 0;
}

.directory article {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.directory h3 {
  margin: 0;
}

.after-block {
  margin-top: 2rem;
}

.directory p {
  margin: 0;
}

.platzhalter {
  background: #f8f1dc;
  border-left: 4px solid #8a6420;
  padding: 0.85rem 1rem;
  margin: 0.8rem 0 0;
}

.platzhalter .tag {
  display: inline-block;
  margin-right: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a4c12;
}

.checks {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.checks li {
  padding-left: 1.6rem;
  position: relative;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid var(--reed);
  background: var(--card);
}

.table-wrap {
  overflow-x: auto;
  margin-top: 0.6rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-size: 1.02rem;
}

caption {
  text-align: left;
  font-weight: 700;
  padding-bottom: 0.55rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.7rem;
  border-bottom: 1px solid var(--line);
}

th {
  font-weight: 700;
  background: #f7f1e4;
}

.steps {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 0.85rem 0 0.85rem 3rem;
  border-top: 1px solid var(--line);
  position: relative;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.85rem;
  font-family: var(--serif);
  color: var(--brick);
  font-size: 1.25rem;
}

.board {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 1rem;
}

.board article {
  background: var(--card);
  padding: 0.95rem 1rem;
}

.board h3 {
  margin: 0;
}

.role {
  margin: 0.15rem 0 0;
  color: var(--muted);
}

.emergency {
  background: var(--card);
  border: 3px solid var(--brick);
  padding: 1.15rem 1.2rem 0.4rem;
}

.emergency h2 {
  color: var(--brick-dark);
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem 0.3rem;
}

.contact-card h2 {
  font-size: 1.45rem;
}

address {
  font-style: normal;
}

.form {
  display: grid;
  gap: 0.9rem;
  max-width: 40rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1.5px solid #7d6d5a;
  border-radius: 2px;
  padding: 0.7rem 0.75rem;
  width: 100%;
  min-height: 48px;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.form button {
  justify-self: start;
  font: inherit;
  font-weight: 700;
  min-height: 48px;
  padding: 0.65rem 1.1rem;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
}

.form button:hover {
  background: var(--brick-dark);
  border-color: var(--brick-dark);
}

.site-footer {
  background: #241c18;
  color: #f3eee4;
  padding: 2.6rem 0 1.6rem;
  font-size: 1.02rem;
}

.site-footer a {
  color: #f6e2a8;
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e6d3a4;
  margin: 0 0 0.55rem;
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
}

.site-footer p {
  margin: 0 0 0.45rem;
}

.legal {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(243, 238, 228, 0.25);
  color: #e4d8c6;
  font-size: 0.95rem;
}

.iban {
  overflow-wrap: anywhere;
}

@media (min-width: 700px) {
  .work,
  .paths {
    grid-template-columns: 1fr 1fr;
  }

  .work li:nth-child(odd),
  .paths li:nth-child(odd) {
    padding-right: 1.5rem;
  }

  .work li:nth-child(even),
  .paths li:nth-child(even) {
    padding-left: 1.5rem;
    border-left: 1px solid var(--line);
  }

  .board,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .board article:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .directory article {
    grid-template-columns: 16rem 1fr;
    gap: 1.25rem;
    align-items: baseline;
  }

  .checks {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.5rem;
  }
}

@media (min-width: 900px) {
  .wrap {
    width: min(100% - 3rem, var(--max));
  }

  .brand img {
    width: 11rem;
  }

  nav.desktop-nav {
    display: flex;
    order: 2;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    margin-left: auto;
    padding: 0;
  }

  .nav-toggle,
  .nav-toggle-label,
  nav.mobile-nav {
    display: none !important;
  }

  .site-nav a {
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
  }

  .site-nav a[aria-current="page"] {
    box-shadow: none;
    padding-left: 0;
    border-bottom-color: var(--brick);
  }

  .site-nav a.nav-spend {
    border: 2px solid var(--brick);
    padding: 0.4rem 0.75rem;
  }

  .site-nav a.nav-spend[aria-current="page"] {
    border-bottom-color: var(--brick);
  }

  .hero {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 2.5rem;
    align-items: stretch;
    padding-top: 2rem;
  }

  .hero-photo {
    height: 100%;
  }

  .hero-photo img {
    height: 100%;
    min-height: 26rem;
    max-height: 38rem;
  }

  .split {
    grid-template-columns: 1.35fr 0.75fr;
    gap: 2.2rem;
    align-items: start;
  }

  .profile {
    grid-template-columns: 18rem 1fr;
    gap: 1.8rem;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.15fr 0.9fr 1.25fr;
  }

  .contact-grid.with-form {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.phone-bar {
  display: none;
}

.big-tel {
  display: inline-block;
  margin-top: 0.15rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration-thickness: 2px;
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  body.admin-bar .header-inner {
    top: 46px;
  }
}

.cat-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.2rem;
}

.cat-card {
  display: grid;
  gap: 0.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0.8rem;
}

.cat-card img,
.cat-card .no-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-deep);
}

.no-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  min-height: 10rem;
}

.badge {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.15rem 0.45rem;
  background: var(--straw);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-note {
  background: #e7f0e8;
  border-left: 4px solid var(--reed);
  padding: 0.85rem 1rem;
}

@media (min-width: 700px) {
  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .cat-grid.home {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 899px) {
  body {
    padding-bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px));
    -webkit-text-size-adjust: 100%;
  }

  .site-header {
    position: static;
    background: transparent;
    border-bottom: 0;
  }

  .mock-note {
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
  }

  .mock-long {
    display: none;
  }

  .mock-short {
    display: inline;
  }

  body.admin-bar .header-inner {
    top: 32px;
  }

  .header-inner {
    position: sticky;
    top: 0;
    z-index: 30;
    width: 100%;
    background: #fffdf8;
    border-bottom: 1px solid var(--line);
    padding: 0.35rem 1rem 0.45rem;
  }

  .hero {
    padding-top: 1.15rem;
  }

  .hero-photo img {
    height: 15rem;
    box-shadow: none;
  }

  .actions {
    flex-direction: column;
  }

  .actions .btn,
  .form button {
    width: 100%;
  }

  .toc {
    gap: 0.4rem;
  }

  .toc a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.2rem 0.7rem;
    background: var(--card);
    border: 1px solid var(--line);
    text-decoration: none;
  }

  table.stack,
  table.stack thead,
  table.stack tbody,
  table.stack tr,
  table.stack th,
  table.stack td {
    display: block;
    width: 100%;
  }

  table.stack {
    background: transparent;
  }

  table.stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  table.stack tr {
    margin: 0 0 0.75rem;
    background: var(--card);
    border: 1px solid var(--line);
  }

  table.stack td {
    border: 0;
    padding: 0.55rem 0.85rem 0.1rem;
  }

  table.stack td:last-child {
    padding-bottom: 0.75rem;
  }

  table.stack td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .phone-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: #fffdf8;
    border-top: 1px solid var(--line);
  }

  .phone-bar .btn {
    flex: 1;
  }

  body:has(#nav-toggle:checked) .phone-bar {
    display: none;
  }

  body:has(#nav-toggle:checked) {
    padding-bottom: 0;
  }
}
