@font-face {
  font-family: "Noto Serif Display";
  src: url("fonts/noto-serif-display-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("fonts/noto-sans.woff") format("woff");
  font-display: swap;
}

:root {
  --ink: #302721;
  --muted: #624d42;
  --paper: #fff5e9;
  --white: #fffaf2;
  --red: #762c38;
  --dark-red: #5a1e2a;
  --soft-red: #f5dfdb;
  --line: #c4a89b;
  --butter: #ffd996;
  --title: "Noto Serif Display", Georgia, serif;
  --body: "Noto Sans", system-ui, sans-serif;
  --gutter: clamp(1.15rem, 5.35vw, 5.1rem);
  --space: clamp(2.3rem, 6vw, 5.1rem);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 400 1rem/1.63 var(--body); background: var(--paper); color: var(--ink); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font: 700 1.6rem/1.08 var(--title); letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 2.3rem); }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
address { font-style: normal; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.wrap { width: min(100% - var(--gutter) * 2, 79rem); margin-inline: auto; }
.skip { position: fixed; top: .8rem; left: .8rem; z-index: 15; padding: .6rem .75rem; transform: translateY(-190%); background: var(--butter); }
.skip:focus { transform: none; }
.eyebrow { color: var(--red); font-size: .85rem; font-weight: 750; letter-spacing: .095em; text-transform: uppercase; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.text-link, .link { color: var(--red); font-weight: 750; overflow-wrap: anywhere; }
.text-link:hover, .link:hover { color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; text-align: center; padding: .6rem 1rem; border: 1px solid var(--red); border-radius: .25rem; background: var(--red); color: var(--white); font-weight: 740; font-size: .91rem; line-height: 1.2; }
.button:hover { background: var(--dark-red); border-color: var(--dark-red); }
.button.light { color: var(--dark-red); background: var(--butter); border-color: var(--butter); }
.button.light:hover { background: #ffeac0; }
.button.outline { color: var(--red); background: transparent; }
.button.outline:hover { background: var(--soft-red); }

.masthead { position: relative; z-index: 4; border-bottom: 1px solid var(--line); background: var(--paper); }
.mast-main { display: flex; justify-content: space-between; align-items: center; min-height: 4.6rem; gap: .7rem 1.35rem; }
.brand { flex: none; display: inline-flex; align-items: center; gap: .65rem; color: var(--dark-red); font: 700 1.35rem/1.05 var(--title); }
.brand-stamp { display: grid; place-items: center; flex: none; width: 2.55rem; height: 2.55rem; border-radius: .3rem; background: var(--red); color: var(--white); border: 1px solid var(--dark-red); box-shadow: inset 0 0 0 2px #dfac9b; font-size: 1.12rem; }
.brand small { display: block; margin-top: .3rem; font: 600 .77rem/1.13 var(--body); letter-spacing: 0; color: var(--muted); }
.desktop-nav ul, .menu ul { display: flex; justify-content: center; list-style: none; padding: 0; margin: 0; gap: .3rem clamp(.55rem, 1.45vw, 1.32rem); }
.desktop-nav a, .menu nav a { min-height: 2.5rem; display: flex; align-items: center; font-size: .91rem; font-weight: 700; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"], .menu nav a:hover, .menu nav a[aria-current="page"] { color: var(--red); }
.desktop-nav a[aria-current="page"] { box-shadow: inset 0 -.13rem var(--red); }
.mast-actions { display: flex; flex: none; align-items: center; gap: .42rem; }
.menu { display: none; }
.menu summary { display: flex; align-items: center; min-height: 2.8rem; padding: .45rem .7rem; border: 1px solid var(--line); color: var(--dark-red); font-weight: 710; font-size: .9rem; list-style: none; border-radius: .25rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--soft-red); }
.menu nav { position: absolute; inset: 100% 0 auto; background: var(--white); border-bottom: 2px solid var(--red); padding: .65rem var(--gutter) 1rem; box-shadow: 0 8px 24px #4c211e35; }
.menu nav ul { display: grid; grid-template-columns: repeat(2,minmax(0, 1fr)); justify-content: start; gap: .2rem 1rem; }
.menu nav a { white-space: normal; border-bottom: 1px solid var(--line); }

.village-edition { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(0, .82fr); align-items: center; gap: 1rem clamp(1.4rem, 5vw, 5rem); padding: clamp(2.15rem, 5.35vw, 5rem) 0 2.05rem; }
.lead { padding-block: .15rem; }
.lead h1 { color: var(--dark-red); font-size: clamp(3.45rem, 7.9vw, 7.05rem); line-height: .9; letter-spacing: -.068em; margin: .43rem 0 .95rem; }
.lead > p:last-of-type { max-width: 47ch; color: var(--muted); font-size: clamp(1rem, 1.38vw, 1.17rem); }
.lead .actions { margin-top: .8rem; }
.notice { position: relative; padding: clamp(1.15rem, 3vw, 2.55rem); background: var(--red); color: var(--white); border: .12rem solid var(--dark-red); outline: 1px dashed #e8c8b0; outline-offset: -.55rem; }
.notice .eyebrow { color: var(--butter); }
.notice .date-line { font-size: clamp(.93rem, 1.45vw, 1.16rem); margin-block: .82rem .12rem; font-weight: 740; letter-spacing: .015em; }
.notice h2 { font-size: clamp(2rem, 4.35vw, 4.2rem); line-height: .97; margin-bottom: .75rem; }
.notice .button { margin-top: .95rem; }
.notice a:focus-visible { outline-color: var(--butter); }
.square-photo { padding: .48rem; border: 1px solid var(--line); background: var(--white); }
.square-photo img { aspect-ratio: 3.05; object-fit: cover; object-position: 50% 57%; }
.village-notes { margin-block: var(--space); }
.village-notes > header { padding-bottom: .95rem; border-bottom: 2px solid var(--red); }
.village-notes > header h2 { color: var(--dark-red); }
.village-notes > header p { margin-top: .38rem; color: var(--muted); }
.village-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .63fr); align-items: center; gap: .95rem clamp(1rem, 6vw, 6rem); border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
.village-note div { padding-block: .4rem; }
.village-note p { max-width: 52ch; margin: .47rem 0; color: var(--muted); }
.village-note img { aspect-ratio: 2.38; object-fit: cover; object-position: 52% 54%; border-radius: .15rem; }

.inner { max-width: 65rem; padding-bottom: var(--space); }
.breadcrumbs { font-size: .89rem; color: var(--muted); margin: 1rem 0 clamp(1.7rem, 4.5vw, 3.65rem); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: .45rem; }
.breadcrumbs a { color: var(--red); }
.inner h1 { font-size: clamp(2.8rem, 7vw, 6rem); color: var(--dark-red); line-height: .94; letter-spacing: -.059em; }
.page-head { margin-bottom: 1.45rem; }
.page-head .eyebrow, .manifesto .eyebrow { margin-bottom: .52rem; }
.page-head > p:last-child { max-width: 59ch; margin-top: .77rem; color: var(--muted); font-size: clamp(1.03rem, 1.5vw, 1.2rem); }
.event-facts { display: grid; grid-template-columns: 1fr 1.33fr .8fr; background: var(--soft-red); border-block: 1px solid var(--line); margin: 1.15rem 0; }
.event-facts div { padding: .82rem clamp(.8rem, 2vw, 1.48rem); border-inline-end: 1px solid var(--line); }
.event-facts div:last-child { border: 0; }
.event-facts dt, .register dt { font-size: .89rem; font-weight: 720; color: var(--red); }
.event-facts dd, .register dd { font-weight: 700; margin-top: .25rem; }
.event-photo img { aspect-ratio: 2.65; object-fit: cover; object-position: 50% 57%; }
.plain, .profile-note { margin-block: 1.55rem; max-width: 64ch; }
.plain p, .profile-note p { margin: .56rem 0; }
.plain .actions, .profile-note .actions { margin-top: .8rem; }
.activity-photo img { aspect-ratio: 2.7; object-fit: cover; object-position: 50% 57%; }
.participate-photo img { aspect-ratio: 3; object-fit: cover; object-position: 50% 53%; }
.programme { margin: 1.4rem 0; border-top: 2px solid var(--red); }
.programme-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.14fr); gap: .4rem 1.3rem; align-items: start; border-bottom: 1px solid var(--line); padding: .92rem 0; }
.programme-row h2 { font-size: clamp(1.45rem, 2.7vw, 2.1rem); }
.programme-row div p { margin-bottom: .37rem; }
.register { max-width: 58rem; padding: 1.18rem 1.35rem; background: var(--soft-red); border-inline-start: .28rem solid var(--red); }
.register h2 { font-size: 1.75rem; }
.register dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem 1.2rem; margin-block: .6rem; }
.manifesto { background: var(--soft-red); border-block: 1px solid var(--line); padding: clamp(1.15rem, 5.2vw, 3.75rem); }
.manifesto > p:last-child { max-width: 47ch; margin-top: 1.05rem; font: 700 clamp(1.18rem, 2.8vw, 2.4rem)/1.31 var(--title); }
.role-book { max-width: 49rem; border-top: 2px solid var(--red); }
.role-book div { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); gap: .28rem 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.role-book dt { font-weight: 750; }
.resource-notes { max-width: 55rem; border-top: 2px solid var(--red); }
.resource-notes details { padding: .82rem .3rem; border-bottom: 1px solid var(--line); }
.resource-notes summary { font-weight: 750; color: var(--red); }
.resource-notes p { margin-top: .52rem; max-width: 60ch; }
.participation { display: grid; gap: .9rem; padding-left: 1.5rem; margin-block: 1.25rem; }
.participation li::marker { color: var(--red); font-weight: 750; }
.participation h2 { font-size: 1.55rem; }
.participation p { max-width: 65ch; margin-top: .35rem; }
.policy-text { max-width: 51rem; }
.policy-text section { padding: .85rem 0; border-top: 1px solid var(--line); }
.policy-text h2 { font-size: 1.48rem; }
.policy-text p { margin-top: .43rem; overflow-wrap: anywhere; }

.correspondence { max-width: 53rem; }
.contact-band { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .7rem 1.55rem; margin-bottom: 1.2rem; padding: .85rem 1.12rem; border: 1px solid var(--line); background: var(--soft-red); }
.contact-band address strong { font-size: .91rem; }
.letter, .contribution, .receipt { display: grid; gap: 1.1rem; border: 1px solid var(--line); border-radius: .25rem; background: var(--white); padding: clamp(1rem, 4vw, 2.7rem); }
.letter { border-top: 3px solid var(--red); }
.letter header p { margin-top: .44rem; color: var(--muted); }
.letter > .button, .contribution > .button { justify-self: start; }
.field { min-width: 0; display: flex; flex-direction: column; gap: .28rem; }
.field label, legend { font-weight: 720; }
.field :is(input, select, textarea) { width: 100%; min-height: 2.8rem; padding: .53rem .68rem; border: 1px solid #937368; border-radius: .22rem; background: #fffaf2; color: var(--ink); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--red) 50%), linear-gradient(135deg, var(--red) 50%, transparent 50%); background-position: calc(100% - .99rem) 54%, calc(100% - .67rem) 54%; background-size: .34rem .34rem; background-repeat: no-repeat; padding-inline-end: 1.9rem; }
.field textarea { resize: vertical; min-height: 6rem; }
.identity { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.note { color: var(--muted); font-size: .9rem; }
.ack { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .55rem; }
.ack input, .frequency input, .listed-amount input { flex: none; margin: 0; accent-color: var(--red); width: 1.05rem; height: 1.05rem; }
.ack input { margin-top: .28rem; }
.error-summary { border: 1px solid #a45162; background: #fff0ef; color: #831e36; padding: .6rem .8rem; }
.error-summary ul { padding-left: 1.2rem; margin-bottom: 0; }
.error-summary a { font-weight: 690; }
.field-error { font-size: .89rem; color: #831e36; }
[aria-invalid="true"] { border-color: #a93b44 !important; }
.donation-steps { display: flex; flex-wrap: wrap; list-style: none; min-width: 0; padding: 0; gap: .3rem; margin: 0 0 .85rem; font: .9rem/1.22 var(--body); }
.donation-steps li { flex: 1 1 min(100%, 10rem); padding: .61rem .75rem; border-bottom: 2px solid var(--line); text-align: center; }
.donation-steps li[aria-current="step"] { background: var(--soft-red); color: var(--red); border-color: var(--red); font-weight: 750; }
.contribution fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.contribution legend { margin-bottom: .45rem; }
.choice-zone { display: grid; gap: .9rem; padding: clamp(.8rem, 2.5vw, 1.4rem); background: var(--soft-red); border: 1px solid var(--line); border-radius: .25rem; }
.frequency, .amounts { display: flex; flex-wrap: wrap; gap: .38rem; }
.frequency label, .listed-amount { min-height: 2.75rem; display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .61rem; background: var(--white); border: 1px solid #937368; border-radius: .26rem; font-weight: 670; cursor: pointer; }
.listed-amount { flex: 1 1 auto; }
.frequency label:has(:checked), .listed-amount:has(:checked) { background: var(--butter); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
#montant-libre-field { max-width: 16rem; margin-top: .65rem; }
.donor .field:has(textarea) { margin-top: .7rem; }
.don-conditions { margin-top: .9rem; }
.receipt { border-block: 2px dashed var(--line); }
.receipt h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
.receipt header p { margin-top: .65rem; color: var(--muted); }
.overview > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: .2rem .65rem; padding: .55rem 0; border-bottom: 1px dashed #a98a7c; overflow-wrap: anywhere; }
.overview dt { color: var(--muted); }
.overview dd { white-space: pre-wrap; font-weight: 690; }
.receipt pre { margin: 0; padding: .85rem; background: var(--soft-red); border: 1px solid var(--line); font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
dialog { width: min(32rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 1.25rem; border: 1px solid var(--ink); border-radius: .3rem; background: var(--white); color: var(--ink); box-shadow: .3rem .3rem var(--soft-red); }
dialog > * + * { margin-top: .7rem; }
dialog::backdrop { background: #3d2722b9; }
.cookie-notice { position: fixed; z-index: 6; inset: auto 1rem 1rem auto; width: min(21rem, calc(100% - 2rem)); border: 1px solid var(--ink); border-radius: .25rem; background: var(--white); padding: .8rem .9rem; box-shadow: .22rem .22rem var(--soft-red); font-size: .9rem; }
.cookie-notice > div { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .5rem; }
.cookie-notice .button { min-height: 2.5rem; }

.site-footer { padding-block: 1.55rem 2.05rem; background: #3a261f; color: var(--white); }
.site-footer :focus-visible { outline-color: var(--butter); }
.footer-main { display: flex; justify-content: space-between; align-items: end; gap: .7rem 1.25rem; flex-wrap: wrap; padding-bottom: .85rem; border-bottom: 1px solid #a58474; }
.footer-main strong { font: 700 1.4rem/1.05 var(--title); }
.footer-main address, .footer-main p { font-size: .9rem; }
.footer-main .link { color: var(--butter); }
.footer-nav ul { display: flex; flex-wrap: wrap; list-style: none; gap: .1rem 1rem; padding: 0; margin: .47rem 0 0; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 1.95rem; font-size: .9rem; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--butter); }
.footer-legal { margin-top: .65rem; padding-top: .75rem; border-top: 1px solid #a58474; }
.footer-legal summary { font-weight: 725; font-size: .9rem; color: var(--butter); }
.footer-legal a { font-size: .85rem; }

@media (max-width: 56rem) {
  .desktop-nav { display: none; }
  .menu { display: block; }
}
@media (max-width: 43rem) {
  .village-edition { grid-template-columns: 1fr; padding-top: 2.4rem; }
  .lead h1 { font-size: clamp(3.5rem, 12.7vw, 6.05rem); }
  .notice { margin-top: .5rem; }
  .notice h2 { font-size: clamp(2.5rem, 9vw, 3.75rem); }
  .square-photo img { aspect-ratio: 1.66; }
  .event-facts { grid-template-columns: 1fr 1fr; }
  .event-facts div:last-child { grid-column: 1/-1; border-top: 1px solid var(--line); }
  .event-facts div:nth-child(2) { border-inline-end: 0; }
  .village-note { grid-template-columns: 1fr; }
  .programme-row { grid-template-columns: 1fr; }
  .activity-photo img, .event-photo img, .participate-photo img { aspect-ratio: 1.75; }
}
@media (max-width: 29rem) {
  .mast-main { gap: .3rem; }
  .brand { font-size: 1.04rem; gap: .37rem; }
  .brand-stamp { width: 1.86rem; height: 1.86rem; font-size: .88rem; }
  .brand small { display: none; }
  .mast-actions { gap: .3rem; }
  .mast-actions .button, .menu summary { padding-inline: .48rem; font-size: .8rem; }
  .register dl, .role-book div, .identity { grid-template-columns: 1fr; }
}
