@font-face {
  font-family: "Museo Sans";
  src: url("../fonts/MuseoSans_300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Museo Sans";
  src: url("../fonts/MuseoSans_500.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Museo Sans";
  src: url("../fonts/MuseoSans_700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3f0e7;
  --paper-2: #e6e0d2;
  --card: #faf8f2;
  --ink: #1b1914;
  --muted: #5e584c;
  --line: #d2c9b6;
  --green: #24381f;
  --green-2: #3c5a32;
  --brass: #8a6424;
  --danger: #6e2a22;
  --shadow: 0 18px 40px rgba(28, 26, 20, 0.08);
  --serif: "Museo Sans", "Segoe UI", sans-serif;
  --sans: "Museo Sans", "Segoe UI", sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.mourning { filter: grayscale(1); }
body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.45), transparent 220px),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { color: var(--brass); }
.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: white; padding: .4rem .7rem;
}
.skip:focus { top: .5rem; z-index: 20; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }
button, input, summary { font: inherit; }

.topbar {
  background: var(--ink);
  color: #f4f0e6;
  font-size: .92rem;
}
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-row { display: flex; gap: 1.1rem; align-items: center; min-height: 2.5rem; flex-wrap: wrap; }
.top-spacer { flex: 1; }
.top-drop { position: relative; }
.top-drop summary { cursor: pointer; list-style: none; }
.top-drop summary::-webkit-details-marker { display: none; }
.top-panel {
  position: absolute; z-index: 30; top: 100%; left: 0;
  width: min(720px, 80vw); max-height: 70vh; overflow: auto;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow); padding: .8rem 1rem;
}
.top-panel ul { columns: 2; margin: 0; padding: 0; list-style: none; }
.top-panel a { color: var(--ink); display: block; padding: .2rem 0; text-decoration: none; }
.top-panel a:hover { color: var(--brass); }

.mast { background: transparent; border-bottom: 1px solid var(--line); }
.mast-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0 .4rem; }
.brand { display: flex; align-items: center; color: inherit; text-decoration: none; }
.brand img { width: auto; height: 72px; object-fit: contain; }
.search { display: flex; border: 1px solid var(--line); background: var(--card); }
.search input { border: 0; background: transparent; padding: .55rem .7rem; width: 14rem; }
.search button { border: 0; background: var(--green); color: #f6f3ea; padding: .55rem .8rem; cursor: pointer; }
.search button:hover { background: var(--ink); }

.nav { position: relative; }
.nav-check { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; cursor: pointer; padding: .7rem 0; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; }
.nav-list { display: flex; flex-wrap: wrap; gap: .15rem 1.1rem; list-style: none; margin: 0; padding: .35rem 0 .8rem; }
.nav-list > li > a, .nav-list > li > details > summary {
  color: var(--ink); text-decoration: none; cursor: pointer; list-style: none;
  font-size: .98rem;
}
.nav-list summary::-webkit-details-marker { display: none; }
.nav-list > li > a:hover, .nav-list summary:hover { color: var(--brass); }
.has-sub { position: relative; }
.nav-sub {
  display: none;
  position: absolute; z-index: 25; top: calc(100% - .2rem); left: 0;
  width: max-content; max-width: min(980px, calc(100vw - 2rem));
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 1rem 1.15rem 1.15rem; gap: 1.3rem; align-items: flex-start;
}
.nav-list > li:nth-last-child(-n+4) .nav-sub { left: auto; right: 0; }
.has-sub:hover > details > .nav-sub,
.has-sub:focus-within > details > .nav-sub,
.has-sub details[open] > .nav-sub { display: flex; }
.nav-label { margin: 0 0 .35rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.nav-group { min-width: 13rem; max-width: 18rem; }
.nav-list summary a { color: inherit; text-decoration: none; }
.nav-group ul { list-style: none; margin: 0; padding: 0; }
.nav-group a { color: var(--ink); text-decoration: none; display: block; padding: .12rem 0; }
.nav-group a:hover { color: var(--brass); }
.nav-direct { font-weight: 600; }
.nav-nested { margin-top: .4rem; }

.hero-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-actions a {
  display: block; padding: 1.1rem 1rem 1.2rem; text-decoration: none; color: var(--ink);
  border-right: 1px solid var(--line); background: transparent;
}
.hero-actions a:last-child { border-right: 0; }
.hero-actions a:hover { background: var(--card); color: var(--ink); }
.hero-actions span { display: block; font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }
.hero-actions small { display: block; margin-top: .35rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }

.section { padding: 2.4rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.kicker { margin: 0; letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; color: var(--brass); }
h1, h2, .serif { font-family: var(--serif); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: .2rem 0 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }

.news-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 1.5rem; }
.feature { color: inherit; text-decoration: none; display: block; }
.feature:hover { color: inherit; }
.news-media { display: block; background: var(--paper-2) center/42% no-repeat url("../img/logo-sygnet.png"); aspect-ratio: 16/10; overflow: hidden; }
.feature .news-media { aspect-ratio: 16/9; }
.news-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature h2 { margin-top: .7rem; }
.meta { color: var(--muted); font-size: .88rem; letter-spacing: .04em; }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 92px 1fr; gap: .8rem; padding: .75rem 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.news-list a:hover h3 { color: var(--brass); }
.news-list h3 { margin: .15rem 0 0; font-size: 1.05rem; font-family: var(--serif); font-weight: 600; }
.news-list .news-media { aspect-ratio: 1; }

.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.2rem; }
.panel { background: var(--card); border: 1px solid var(--line); padding: 1.3rem 1.4rem 1.4rem; }
.panel h2 { margin-bottom: .6rem; }
.link-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.link-row a, .text-link { border-bottom: 1px solid var(--brass); text-decoration: none; padding-bottom: .05rem; }
.account { font-variant-numeric: tabular-nums; letter-spacing: .03em; }

.events { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 92px 1fr; gap: .8rem; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.event:hover h3 { color: var(--brass); }
.event-date { font-family: var(--serif); line-height: 1.05; }
.event-date b { display: block; font-size: 1.6rem; font-weight: 600; }
.event h3 { margin: .15rem 0; font-size: 1.15rem; }
.event p { margin: 0; color: var(--muted); }

.facts { min-height: 7rem; }
.fact { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; }
.fact[hidden] { display: none; }

.page { padding: 2rem 0 3rem; }
.prose { max-width: 760px; }
.prose.wide { max-width: 980px; }
.prose h2, .prose h3 { margin: 1.4rem 0 .35rem; }
.prose h2 { font-size: 1.28rem; }
.prose h3 { font-size: 1.08rem; }
.prose h5 { font-size: 1rem; font-weight: 500; margin: .4rem 0; }
.prose p { margin: .55rem 0; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose img { margin: .8rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: .4rem .3rem; vertical-align: top; text-align: left; }
.people {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem;
  margin: 1rem 0 1.4rem;
}
.person {
  display: grid; grid-template-columns: 132px 1fr; gap: .85rem; align-items: start;
  margin: 0; padding: .85rem; background: var(--card); border: 1px solid var(--line);
}
.person img { width: 132px; height: 164px; object-fit: cover; object-position: center top; margin: 0; background: #e7e4de; }
.person img.is-placeholder { object-fit: contain; padding: .85rem; background: #e4e2dc; }
.person h3 { margin: 0; font-size: 1.05rem; }
.person p { margin: .2rem 0; }
.fb-gallery table, .fb-gallery tbody, .fb-gallery tr { display: block; }
.fb-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .5rem; margin-top: 1rem; }
.fb-gallery td { display: block; width: auto !important; padding: 0 !important; border: 0; }
.fb-gallery img { width: 100%; height: 140px; object-fit: cover; margin: 0; }
.press {
  display: grid; grid-template-columns: 220px 1fr; gap: 1rem; align-items: start;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.press img { width: 220px; height: 140px; object-fit: cover; object-position: top; margin: 0; background: var(--paper-2); }
.press h2 { font-size: 1.2rem; margin: .2rem 0; }
.press h2 a { color: inherit; text-decoration: none; }
.press h2 a:hover { color: var(--brass); }
.press p { margin: .35rem 0 0; }
.post-hero { margin: 0 0 1.2rem; }
.post-hero img { width: 100%; max-height: 520px; object-fit: cover; }

.pager { display: flex; gap: 1rem; align-items: center; margin-top: 1.5rem; }
.pager a { text-decoration: none; border-bottom: 1px solid var(--brass); }

.site-foot { background: var(--ink); color: #efeae0; margin-top: 2rem; padding: 2rem 0 1.2rem; }
.site-foot a { color: inherit; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1.3fr .8fr; gap: 1.5rem; }
.foot-name { font-family: var(--serif); font-size: 1.2rem; margin: 0 0 .4rem; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links a { text-decoration: none; }
.foot-legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.15); margin-top: 1.4rem; padding-top: .8rem; font-size: .92rem; color: #d9d2c4; }

.empty { color: var(--muted); }

@media (max-width: 900px) {
  .nav-burger { display: inline-block; }
  .nav-list { display: none; padding-bottom: 1rem; }
  .nav-check:checked ~ .nav-list { display: block; }
  .nav-sub, .has-sub:hover > details > .nav-sub, .has-sub:focus-within > details > .nav-sub, .has-sub details[open] > .nav-sub {
    position: static; display: block; width: auto; max-width: none; box-shadow: none; border: 0; padding: .3rem 0 .6rem 0; background: transparent;
  }
  .nav-group { max-width: none; }
  .has-sub details:not([open]) > .nav-sub { display: none; }
  .hero-actions, .news-grid, .split, .events, .foot-grid { grid-template-columns: 1fr; }
  .hero-actions a { border-right: 0; border-bottom: 1px solid var(--line); }
  .mast-row { align-items: flex-start; flex-direction: column; }
  .search input { width: 100%; }
  .top-panel ul { columns: 1; }
  .people, .press { grid-template-columns: 1fr; }
  .person { grid-template-columns: 110px 1fr; }
  .person img { width: 110px; height: 140px; }
  .press img { width: 100%; height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
