:root {
  --ink: #201712;
  --muted: #6d625a;
  --paper: #fff8ea;
  --surface: #fffdf7;
  --terracotta: #bd5634;
  --gold: #d8a13d;
  --leaf: #3d7d5a;
  --blue: #214c68;
  --plum: #6f3d62;
  --line: rgba(32, 23, 18, 0.14);
  --shadow: 0 22px 70px rgba(32, 23, 18, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: #fff;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(32, 23, 18, 0.94);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.2);
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-family: "Playfair Display", serif;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.94rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  border-radius: 999px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  margin: 0;
  padding: 126px clamp(20px, 6vw, 84px) 58px;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(32, 23, 18, 0.76), rgba(32, 23, 18, 0.24)),
    url("assets/boisbelle-carte.jpg") center / cover;
  transform: scale(1.04);
}

.hero-overlay {
  background:
    radial-gradient(circle at 20% 22%, rgba(216, 161, 61, 0.28), transparent 30%),
    linear-gradient(0deg, rgba(32, 23, 18, 0.72), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd78b;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.04;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 7vw, 6.8rem);
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.45rem, 5.5vw, 5.35rem);
  line-height: 1;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.1rem);
}

h3 {
  margin: 0;
  font-size: 1.18rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.62;
}

.hero-actions,
.agenda-toolbar,
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.filter-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 800;
}

.button.primary {
  background: var(--terracotta);
  color: #fff;
}

.button.secondary,
.filter-button.active {
  background: var(--blue);
  color: #fff;
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}

.hero-card {
  position: absolute;
  right: clamp(20px, 6vw, 84px);
  bottom: 34px;
  z-index: 1;
  width: min(330px, calc(100% - 40px));
  border-left: 5px solid var(--gold);
  background: rgba(255, 248, 234, 0.92);
  color: var(--ink);
  padding: 20px;
  box-shadow: var(--shadow);
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card strong {
  font-size: 1.4rem;
}

.hero-card span {
  margin-top: 5px;
  color: var(--muted);
}

section {
  padding: 88px clamp(20px, 6vw, 84px);
}

.intro-band {
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.96), rgba(243, 239, 226, 0.96)),
    url("assets/boisbelle-carte.jpg") center / cover;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: 30px;
  align-items: start;
  margin-bottom: 38px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.archive-grid article,
.login-card,
.mini-calendar,
.event-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(32, 23, 18, 0.07);
}

.identity-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
}

.identity-card {
  display: grid;
  align-content: end;
  min-height: 560px;
  border-radius: var(--radius);
  background:
    linear-gradient(0deg, rgba(32, 23, 18, 0.88), rgba(32, 23, 18, 0.18)),
    url("assets/boisbelle-carte.jpg") center / cover;
  color: #fff;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow);
}

.identity-card .eyebrow {
  color: #ffd78b;
}

.identity-card h2 {
  font-size: clamp(2rem, 4.2vw, 4.4rem);
}

.identity-card p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}

.identity-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.identity-stats span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  padding: 16px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

.identity-stats strong {
  display: block;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.identity-path {
  display: grid;
  align-content: center;
  gap: 0;
}

.identity-path article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  position: relative;
  padding: 28px 0;
}

.identity-path article + article {
  border-top: 1px solid var(--line);
}

.path-number {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  background: var(--terracotta);
  color: #fff;
  font-weight: 900;
}

.path-photo {
  display: block;
  width: 68px;
  height: 68px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(32, 23, 18, 0.18);
}

.path-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.identity-path article:nth-child(2) .path-number {
  background: var(--blue);
}

.identity-path article:nth-child(3) .path-number {
  background: var(--leaf);
}

.identity-path h3 {
  margin-bottom: 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
}

.identity-path p {
  margin: 0;
  max-width: 650px;
  color: var(--muted);
  line-height: 1.75;
}

.latest-section,
.important-section {
  background: var(--surface);
}

.important-section {
  background: var(--paper);
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.75fr));
  gap: 18px;
}

.news-main,
.news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(32, 23, 18, 0.07);
}

.news-main {
  display: grid;
  gap: 16px;
  align-content: end;
  min-height: 360px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(0deg, rgba(32, 23, 18, 0.84), rgba(32, 23, 18, 0.28)),
    var(--news-cover, url("assets/boisbelle-archive.jpg")) center / cover;
  color: #fff;
}

.news-main p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}

.news-main .button {
  justify-self: start;
}

.news-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
}

.news-card span {
  color: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card time,
.news-meta {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.news-main .news-meta {
  color: rgba(255, 255, 255, 0.72);
  margin: -8px 0 0;
}

.news-event-card strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.news-card p {
  color: var(--muted);
  line-height: 1.65;
}

.news-card a {
  color: var(--blue);
  font-weight: 900;
}

.next-activity-section {
  background: var(--paper);
}

.next-activity-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 52px);
  align-items: end;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(33, 76, 104, 0.94), rgba(61, 125, 90, 0.86)),
    url("assets/boisbelle-carte.jpg") center / cover;
  color: #fff;
  padding: clamp(26px, 5vw, 54px);
  box-shadow: var(--shadow);
}

.next-activity-card .eyebrow {
  color: #ffd78b;
}

.next-activity-card h2 {
  max-width: 880px;
}

.next-activity-card p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
}

.next-activity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.next-activity-actions .button.secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.section-teasers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.section-teasers article {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 26px;
}

.section-teasers p {
  color: var(--muted);
  line-height: 1.75;
}

.section-teasers .button {
  justify-self: start;
  margin-top: 8px;
}

.home-feature {
  background: var(--paper);
}

.archive-grid p,
.content-panel p,
.member-copy p,
.event-card p {
  color: var(--muted);
  line-height: 1.7;
}

.split-section,
.member-section,
.agenda-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
}

.image-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: min(580px, 72vw);
  object-fit: cover;
}

.content-panel {
  max-width: 660px;
}

.feature-list span,
.feature-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 10px 14px;
  color: var(--blue);
  font-weight: 800;
}

.page-shell {
  padding-top: 112px;
}

.page-hero {
  display: grid;
  gap: 18px;
  min-height: 44vh;
  align-items: end;
  padding: 150px clamp(20px, 6vw, 84px) 56px;
  background:
    linear-gradient(120deg, rgba(32, 23, 18, 0.86), rgba(33, 76, 104, 0.8)),
    url("assets/boisbelle-carte.jpg") center / cover;
  color: #fff;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.7;
}

.page-hero .eyebrow {
  color: #ffd78b;
}

.articles-preview {
  background: #f3efe2;
}

.article-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.article-list {
  display: grid;
  gap: 18px;
}

.article-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px;
  box-shadow: 0 12px 30px rgba(32, 23, 18, 0.07);
}

.article-card.featured {
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.94), rgba(255, 253, 247, 0.86)),
    url("assets/boisbelle-archive.jpg") center / cover;
}

.article-card h3 {
  font-size: clamp(1.35rem, 2.4vw, 2.35rem);
}

.article-card p,
.article-meta,
.article-body p,
.article-body li {
  color: var(--muted);
  line-height: 1.75;
}

.article-card a,
.article-body a,
.text-link {
  color: var(--terracotta);
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  background: var(--paper);
}

.info-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 12px 30px rgba(32, 23, 18, 0.07);
}

.info-panel.wide {
  grid-column: 1 / -1;
}

.info-panel h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.info-panel p,
.info-panel span,
.history-block p {
  color: var(--muted);
  line-height: 1.75;
}

.info-panel .button {
  justify-self: start;
}

.accent-panel {
  align-content: center;
  background:
    linear-gradient(135deg, rgba(33, 76, 104, 0.94), rgba(111, 61, 98, 0.9)),
    url("assets/boisbelle-carte.jpg") center / cover;
  color: #fff;
}

.accent-panel strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.accent-panel span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.history-timeline {
  display: grid;
  gap: 18px;
}

.history-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  background: var(--surface);
}

.history-intro p {
  color: var(--muted);
  line-height: 1.75;
}

.history-facts {
  display: grid;
  gap: 12px;
}

.history-facts span {
  border-left: 5px solid var(--terracotta);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 16px;
  color: var(--muted);
}

.history-facts strong {
  display: block;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.history-block {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 12px 30px rgba(32, 23, 18, 0.07);
}

.history-block h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.history-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.vestige-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.vestige-grid span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 9px 12px;
  color: var(--blue);
  font-weight: 900;
}

.history-map-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  background: var(--paper);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.link-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(32, 23, 18, 0.07);
}

.link-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.link-card > div {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 24px;
}

.link-card p {
  color: var(--muted);
  line-height: 1.7;
}

.link-card a {
  color: var(--terracotta);
  font-weight: 900;
}

.photo-credits {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.article-body {
  max-width: 820px;
}

.article-body h2 {
  margin-top: 42px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.article-aside {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}

.article-aside dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.article-aside dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-aside dd {
  margin: 0;
  font-weight: 800;
}

.editor-note {
  border-left: 5px solid var(--gold);
  background: #fff;
  padding: 18px;
}

.articles-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  padding: 150px clamp(20px, 6vw, 84px) 70px;
  background:
    linear-gradient(90deg, rgba(32, 23, 18, 0.74), rgba(32, 23, 18, 0.2)),
    url("assets/boisbelle-archive.jpg") center / cover;
  color: #fff;
}

.articles-hero h1 {
  max-width: 940px;
}

.articles-hero p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  line-height: 1.7;
}

.articles-hero .eyebrow {
  color: #ffd78b;
}

.editorial-panel {
  border: 1px solid rgba(255, 215, 139, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.14);
  padding: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}

.editorial-panel strong,
.editorial-panel span {
  display: block;
}

.editorial-panel span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.articles-board {
  background: var(--paper);
}

.articles-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.lead-article {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: stretch;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.lead-article img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.lead-article > div {
  display: grid;
  gap: 16px;
  align-content: center;
  padding: clamp(24px, 5vw, 48px);
}

.lead-article h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.lead-article p {
  color: var(--muted);
  line-height: 1.75;
}

.lead-article .button {
  justify-self: start;
}

.article-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story {
  background: var(--surface);
}

.story-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: end;
  min-height: 78vh;
  padding: 145px clamp(20px, 6vw, 84px) 58px;
  background:
    linear-gradient(115deg, rgba(255, 248, 234, 0.98), rgba(255, 253, 247, 0.9) 55%, rgba(216, 161, 61, 0.2));
}

.back-link {
  display: inline-flex;
  width: max-content;
  margin-bottom: 22px;
  color: var(--terracotta);
  font-weight: 900;
}

.story-hero h1 {
  max-width: 920px;
  color: var(--ink);
  font-size: clamp(2.9rem, 7vw, 7.3rem);
}

.story-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.75;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.story-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 9px 12px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 900;
}

.story-hero-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-hero-image img {
  width: 100%;
  height: min(610px, 62vw);
  object-fit: cover;
}

figcaption {
  background: rgba(32, 23, 18, 0.92);
  color: rgba(255, 255, 255, 0.76);
  padding: 10px 12px;
  font-size: 0.82rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 820px);
  gap: clamp(24px, 5vw, 76px);
  align-items: start;
  justify-content: center;
  padding: 70px clamp(20px, 6vw, 84px);
}

.story-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.side-box {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 20px;
}

.side-box a {
  color: var(--blue);
  font-weight: 900;
}

.side-box strong {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.side-box span {
  font-weight: 800;
}

.muted-box {
  background: #fff;
}

.story-content {
  min-width: 0;
}

.story-content p,
.story-content li {
  color: #4f463f;
  font-size: 1.06rem;
  line-height: 1.9;
}

.dropcap::first-letter {
  float: left;
  padding: 9px 10px 0 0;
  color: var(--terracotta);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 5.3rem;
  line-height: 0.78;
}

.story-section {
  margin-top: 44px;
}

.story-section h2,
.sources-box h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.story-quote {
  margin: 46px 0;
  border: 0;
  border-left: 6px solid var(--gold);
  background: var(--paper);
  padding: 28px;
}

.story-quote p {
  margin: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.18;
}

.inline-figure {
  margin: 34px 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(32, 23, 18, 0.12);
}

.inline-figure img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.sources-box {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 28px;
}

.related-section {
  background: #f3efe2;
}

.agenda-section {
  background: #f3efe2;
}

.agenda-toolbar {
  margin-bottom: 22px;
}

.activity-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.activity-links a,
.activity-filter {
  display: grid;
  min-height: 92px;
  align-items: end;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--blue);
  padding: 18px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(32, 23, 18, 0.07);
  cursor: pointer;
  text-align: left;
}

.activity-filter.active {
  background: var(--blue);
  color: #fff;
}

.activity-links a:nth-child(1),
.activity-filter:nth-child(1) {
  border-top: 5px solid var(--terracotta);
}

.activity-links a:nth-child(2),
.activity-filter:nth-child(2) {
  border-top: 5px solid var(--leaf);
}

.activity-links a:nth-child(3),
.activity-filter:nth-child(3) {
  border-top: 5px solid var(--gold);
}

.activity-links a:nth-child(4),
.activity-filter:nth-child(4) {
  border-top: 5px solid var(--plum);
}

.filter-button {
  background: #fff;
  color: var(--ink);
}

.agenda-layout {
  align-items: start;
  grid-template-columns: 330px minmax(0, 1fr);
}

.mini-calendar {
  position: sticky;
  top: 92px;
  padding: 18px;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
}

.calendar-day {
  display: grid;
  min-height: 36px;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.calendar-day.label {
  color: var(--ink);
}

.calendar-day.has-event {
  background: rgba(189, 86, 52, 0.13);
  color: var(--terracotta);
}

.calendar-day.today {
  outline: 2px solid var(--blue);
  color: var(--blue);
}

.events-list {
  display: grid;
  gap: 14px;
}

.event-card {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.event-card:hover,
.event-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  outline: none;
}

.empty-state {
  border: 1px dashed rgba(32, 23, 18, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.72);
  padding: 28px;
}

.empty-state p {
  color: var(--muted);
  line-height: 1.7;
}

.event-date {
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  padding: 12px;
  text-align: center;
}

.event-date strong,
.event-date span {
  display: block;
}

.event-date strong {
  font-size: 1.75rem;
}

.event-type {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(61, 125, 90, 0.13);
  color: var(--leaf);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.event-card time {
  max-width: 190px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: right;
}

.event-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--terracotta);
  font-weight: 900;
}

.event-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--terracotta);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow);
}

.event-detail h2 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.event-detail p {
  color: var(--muted);
  line-height: 1.75;
}

.archives-section {
  background: var(--surface);
}

.archive-grid article {
  padding: 28px;
}

.archive-grid a {
  color: var(--terracotta);
  font-weight: 900;
}

.member-section {
  background: linear-gradient(135deg, var(--blue), var(--plum));
  color: #fff;
}

.member-section .eyebrow {
  color: #ffd78b;
}

.member-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.login-card {
  background: #fffdf7;
  color: var(--ink);
  padding: 26px;
}

.login-form,
.member-dashboard {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
  color: var(--ink);
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(33, 76, 104, 0.15);
}

.form-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.member-dashboard ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(160px, 0.8fr));
  gap: clamp(24px, 4vw, 54px);
  padding: 54px clamp(20px, 6vw, 84px) 38px;
}

.footer-brand,
.footer-column {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-brand .brand-mark {
  border-color: rgba(255, 255, 255, 0.18);
}

.footer-brand strong,
.footer-column strong {
  color: #fff;
}

.footer-brand p,
.footer-column p {
  margin: 0;
  line-height: 1.7;
}

.footer-column a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: #ffd78b;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px clamp(20px, 6vw, 84px);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.legal-hero {
  display: grid;
  gap: 16px;
  min-height: 45vh;
  align-content: end;
  padding: 150px clamp(20px, 6vw, 84px) 58px;
  background:
    linear-gradient(120deg, rgba(32, 23, 18, 0.92), rgba(33, 76, 104, 0.82)),
    url("assets/boisbelle-carte.jpg") center / cover;
  color: #fff;
}

.legal-hero .eyebrow {
  color: #ffd78b;
}

.legal-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  line-height: 1.75;
}

.legal-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 900px);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  background: var(--paper);
}

.legal-summary {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
  box-shadow: 0 12px 30px rgba(32, 23, 18, 0.07);
}

.legal-summary strong {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.legal-summary strong:first-child {
  margin-top: 0;
}

.legal-summary span,
.legal-summary a {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.5;
}

.legal-stack {
  display: grid;
  gap: 18px;
}

.legal-stack article {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 12px 30px rgba(32, 23, 18, 0.07);
}

.legal-stack article > span {
  color: var(--terracotta);
  font-weight: 900;
}

.legal-stack p,
.legal-stack li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-stack a,
.legal-nav a,
.legal-summary a {
  color: var(--terracotta);
  font-weight: 900;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 10px 14px;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    background: rgba(32, 23, 18, 0.96);
  }

  .main-nav.is-open {
    display: flex;
  }

  .section-heading,
  .section-teasers,
  .news-layout,
  .next-activity-card,
  .identity-layout,
  .article-grid,
  .article-layout,
  .articles-hero,
  .lead-article,
  .article-masonry,
  .activity-links,
  .info-grid,
  .history-block,
  .history-intro,
  .history-map-section,
  .legal-layout,
  .link-grid,
  .link-card,
  .story-hero,
  .story-grid,
  .archive-grid,
  .split-section,
  .member-section,
  .agenda-layout {
    grid-template-columns: 1fr;
  }

  .mini-calendar {
    position: static;
  }

  .story-side {
    position: static;
    order: 2;
  }

  .legal-summary {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 32px;
  }

  .identity-card {
    min-height: 460px;
  }
}

@media (max-width: 620px) {
  .brand small {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding: 100px 20px 42px;
  }

  .hero h1 {
    max-width: 520px;
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.02;
  }

  .hero-content p:not(.eyebrow) {
    margin-block: 14px;
    font-size: 1rem;
    line-height: 1.52;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-card time {
    max-width: none;
    text-align: left;
  }

  .event-date {
    width: 92px;
  }

  .identity-stats,
  .identity-path article {
    grid-template-columns: 1fr;
  }

  .identity-path article {
    gap: 14px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-block: 42px 30px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  section {
    padding-block: 64px;
  }
}
