:root {
  --ink: #17231e;
  --forest: #173c2c;
  --forest-deep: #0c251c;
  --fern: #3f674a;
  --cream: #f4f0e5;
  --paper: #fffdf7;
  --ochre: #da8438;
  --sun: #f0bd54;
  --line: rgba(23, 35, 30, .18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link { position: fixed; z-index: 100; top: .5rem; left: .5rem; padding: .7rem 1rem; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 82px; padding: 0 max(5vw, 1.25rem); display: flex; align-items: center; justify-content: space-between; color: white; border-bottom: 1px solid rgba(255,255,255,.22); transition: background .25s, height .25s, box-shadow .25s; }
.site-header.scrolled { height: 68px; color: var(--ink); background: rgba(244,240,229,.95); border-color: var(--line); box-shadow: 0 10px 35px rgba(15,31,23,.08); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .02em; }
.brand small { margin-top: .25rem; font-size: .61rem; letter-spacing: .16em; text-transform: uppercase; }
.navigation { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.navigation a { font-size: .88rem; font-weight: 650; text-decoration: none; }
.navigation a:not(.nav-cta):hover { color: var(--sun); }
.site-header.scrolled .navigation a:not(.nav-cta):hover { color: var(--ochre); }
.nav-cta { padding: .6rem 1rem; border: 1px solid currentColor; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-button span:not(.sr-only) { width: 23px; height: 2px; background: currentColor; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; color: white; background: var(--forest-deep); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; transform: scale(1.015); animation: heroIn 1.6s ease-out both; }
.hero-shade { background: linear-gradient(90deg, rgba(5,20,14,.88) 0%, rgba(5,20,14,.48) 48%, rgba(5,20,14,.12) 75%), linear-gradient(0deg, rgba(5,20,14,.48), transparent 50%); }
.hero-content { position: relative; z-index: 2; width: min(980px, 88vw); margin: 0 0 clamp(5rem, 11vh, 8rem) max(5vw, 1.25rem); }
.eyebrow { margin: 0 0 1rem; color: var(--fern); font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: #dce9d7; }
.hero-identity { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); }
.hero-crest { width: clamp(82px, 9vw, 124px); height: auto; flex: 0 0 auto; filter: drop-shadow(0 12px 24px rgba(0,0,0,.22)); }
.hero h1 { max-width: 820px; margin: 0; font-family: var(--serif); font-size: clamp(6rem, 13vw, 12rem); font-weight: 400; line-height: .78; letter-spacing: -.065em; }
.hero-lead { max-width: 760px; margin: 2rem 0; color: rgba(255,255,255,.9); font-family: var(--serif); font-size: clamp(1.2rem, 2.1vw, 1.6rem); line-height: 1.4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.2rem; border: 1px solid transparent; font-size: .87rem; font-weight: 800; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--sun); color: var(--ink); }
.button-ghost { border-color: rgba(255,255,255,.7); color: white; }
.button-dark { background: var(--forest-deep); color: white; }
.hero-marker { position: absolute; z-index: 2; right: max(5vw, 1.25rem); bottom: 3rem; display: flex; align-items: center; gap: .8rem; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-marker i { width: 1px; height: 58px; background: rgba(255,255,255,.5); }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) max(5vw, 1.25rem); }
.section-kicker { display: flex; gap: 1rem; align-items: center; margin-bottom: clamp(3rem, 6vw, 5rem); color: var(--fern); }
.section-kicker span { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: var(--serif); font-size: .78rem; }
.section-kicker p { margin: 0; font-size: .73rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.6rem); font-weight: 400; line-height: .95; letter-spacing: -.04em; }
.lead { font-family: var(--serif); font-size: clamp(1.25rem, 2.1vw, 1.7rem); line-height: 1.45; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: start; }
.intro-copy { max-width: 580px; }
.intro-copy p:last-child { max-width: 540px; }
.village-mosaic { margin-top: 5rem; display: grid; grid-template-columns: 1.5fr .85fr; grid-template-rows: 220px 220px; gap: 1rem; }
.village-mosaic figure { position: relative; margin: 0; overflow: hidden; }
.village-mosaic .mosaic-main { grid-row: 1 / 3; }
.village-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.village-mosaic figure:hover img { transform: scale(1.035); }
.village-mosaic figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .35rem .65rem; background: rgba(12,37,28,.88); color: white; font-size: .75rem; }

.terroir-band { position: relative; min-height: 590px; display: grid; align-items: center; overflow: hidden; background: var(--ochre); color: white; }
.terroir-word { position: absolute; left: -.03em; bottom: -.28em; font-family: var(--serif); font-size: clamp(9rem, 24vw, 25rem); line-height: 1; color: rgba(255,255,255,.09); letter-spacing: -.08em; }
.terroir-content { position: relative; z-index: 2; width: min(600px, 84vw); margin-left: max(12vw, 1.25rem); }
.terroir-content h2 { margin-bottom: 1.5rem; }
.terroir-content > p:not(.eyebrow) { max-width: 540px; font-size: 1.15rem; }
.text-link { display: inline-flex; gap: .75rem; align-items: center; font-size: .85rem; font-weight: 850; text-underline-offset: .35rem; }
.text-link.light { color: white; }

.nature-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.nature-photo-wrap { position: relative; }
.nature-photo-wrap > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.route-badge { position: absolute; right: -2rem; bottom: 2rem; width: 145px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--sun); color: var(--ink); transform: rotate(-7deg); }
.route-badge strong { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; }
.route-badge span { font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.nature-copy .lead { margin: 2rem 0; }
.route-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: 2.25rem 0; padding: 1.3rem 0; list-style: none; border-block: 1px solid var(--line); }
.route-facts li { display: grid; }
.route-facts strong { font-family: var(--serif); font-size: 1.25rem; }
.route-facts span { color: var(--fern); font-size: .72rem; }
.route-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }

.memory-heading, .associations-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: end; margin-bottom: 4rem; }
.postcard-gallery { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.1rem; }
.postcard { padding: .75rem .75rem .4rem; background: #e7dfcf; box-shadow: 0 16px 50px rgba(48,41,30,.13); transform: rotate(1deg); }
.postcard:nth-child(3) { transform: rotate(-1.2deg); }
.postcard-large { grid-row: 1 / 3; transform: rotate(-.7deg); }
.gallery-actions { display: flex; justify-content: flex-end; margin: -2rem 0 1.5rem; }
.postcard-image { position: relative; width: 100%; display: block; padding: 0; border: 0; overflow: hidden; background: #9b978c; cursor: zoom-in; }
.postcard-image > span { position: absolute; right: .7rem; bottom: .7rem; padding: .38rem .65rem; background: rgba(12,37,28,.88); color: white; font-size: .7rem; font-weight: 800; opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; }
.postcard-image:hover > span, .postcard-image:focus-visible > span { opacity: 1; transform: translateY(0); }
.photo-lightbox { width: min(1100px, 94vw); max-width: none; max-height: 94vh; padding: 0; border: 0; background: #081a13; color: white; box-shadow: 0 25px 100px rgba(0,0,0,.5); }
.photo-lightbox::backdrop { background: rgba(3,12,8,.88); backdrop-filter: blur(5px); }
.photo-lightbox figure { margin: 0; }
.photo-lightbox figure > img { width: 100%; max-height: 75vh; object-fit: contain; background: #050c09; }
.photo-lightbox figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1.25rem; font-family: var(--serif); }
.photo-lightbox figcaption small { color: #a9b9b0; font-family: var(--sans); }
.lightbox-close { position: absolute; z-index: 2; top: .75rem; right: .75rem; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(5,20,14,.82); color: white; font-size: 1.75rem; line-height: 1; cursor: pointer; }
.lightbox-controls { display: grid; grid-template-columns: 1fr auto 1fr; border-top: 1px solid rgba(255,255,255,.18); }
.lightbox-controls button { min-height: 52px; padding: .7rem 1rem; border: 0; background: transparent; color: white; font-size: .78rem; font-weight: 800; cursor: pointer; }
.lightbox-controls button:hover { background: rgba(255,255,255,.09); }
.lightbox-controls button:last-child { text-align: right; }

.postcard-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: sepia(.12) contrast(1.03); transform-origin: center; }
.postcard-large .postcard-image img { aspect-ratio: auto; min-height: 100%; }
.postcard.is-alive .postcard-image img { animation: breathe 8s ease-in-out infinite alternate; }
.postcard-meta { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem .15rem 0; }
.postcard-meta span { font-family: var(--serif); font-size: 1rem; font-style: italic; }
.postcard-meta button { border: 0; padding: .35rem 0; background: none; font-size: .72rem; font-weight: 850; text-decoration: underline; text-underline-offset: .25rem; cursor: pointer; }
.postcard.is-alive .postcard-meta button { color: #8e4b16; }
.animation-note, .directory-note { max-width: 790px; margin: 1.5rem auto 0; color: #5f6c65; font-size: .78rem; text-align: center; }
.memory-history-link { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 2rem; padding: 1.5rem 2rem; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; transition: background .2s, color .2s; }
.memory-history-link:hover { background: var(--forest-deep); color: white; }
.memory-history-link > span:first-child { display: grid; gap: .25rem; }
.memory-history-link small { color: var(--ochre); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.memory-history-link strong { font-family: var(--serif); font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 400; }
.memory-history-link > span:last-child { font-size: .78rem; font-weight: 800; }
.upload-panel { margin-top: 6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: clamp(2rem, 5vw, 4.5rem); background: var(--forest-deep); color: white; }
.upload-copy h3 { margin: .7rem 0 1.25rem; font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3.7rem); font-weight: 400; line-height: 1; }
.upload-copy p { color: #ccd8d1; }
.upload-copy ul { padding-left: 1.2rem; color: #b9c8c0; font-size: .83rem; }
.upload-number { color: var(--sun); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dropzone { position: relative; min-height: 320px; display: grid; place-items: center; border: 1px dashed rgba(255,255,255,.5); background: rgba(255,255,255,.04); transition: border-color .2s, background .2s; }
.dropzone.is-over { border-color: var(--sun); background: rgba(240,189,84,.08); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone label { display: grid; place-items: center; padding: 2rem; text-align: center; cursor: pointer; }
.drop-icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 1rem; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 2rem; }
.dropzone label strong { font-family: var(--serif); font-size: 1.45rem; }
.dropzone label > span:not(.drop-icon) { color: #bcc9c2; font-size: .85rem; }
.dropzone label small { margin-top: .8rem; color: #8fa099; font-size: .7rem; }
.upload-preview { display: none; grid-template-columns: repeat(3, 1fr); gap: .5rem; width: 100%; padding: 1rem; }
.upload-preview.has-files { display: grid; }
.upload-preview figure { margin: 0; }
.upload-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.upload-preview figcaption { padding-top: .25rem; color: #c5d2cb; font-size: .64rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropzone:has(.upload-preview.has-files) label { display: none; }

.deposit-panel { margin-top: 1rem; padding: clamp(2rem, 5vw, 4.5rem); border: 1px solid var(--line); background: var(--paper); }
.deposit-heading { display: grid; grid-template-columns: .45fr 1.15fr 1fr; gap: 2rem; align-items: start; }
.deposit-heading > span { color: var(--ochre); font-size: .72rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.deposit-heading h3 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 400; line-height: 1.05; }
.deposit-heading p { margin: 0; color: #5f6c65; }
.deposit-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 3rem 0 0; padding: 0; list-style: none; }
.deposit-steps li { padding: 1.4rem; border-top: 2px solid var(--ochre); background: var(--cream); }
.deposit-steps li > span { color: var(--ochre); font-family: var(--serif); font-size: .8rem; }
.deposit-steps strong { display: block; margin-top: 1.2rem; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.deposit-steps p { margin-bottom: 0; color: #667269; font-size: .82rem; }
.thanks-example { margin-top: 1rem; padding: 1.5rem 2rem; background: #efe4cf; text-align: center; }
.thanks-example span { color: #8b5c31; font-size: .68rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.thanks-example p { margin: .6rem 0 0; font-family: var(--serif); font-size: clamp(1rem, 2vw, 1.25rem); font-style: italic; }

.associations { padding-top: 9rem; }
.associations-heading > p { max-width: 510px; font-family: var(--serif); font-size: 1.25rem; }
.association-list { border-top: 1px solid var(--line); }
.association-row { min-height: 92px; display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .25s, background .25s; }
.association-row.featured:hover { padding-inline: 1rem; background: var(--sun); }
.association-index { color: var(--fern); font-family: var(--serif); font-size: .85rem; }
.association-row > span:nth-child(2) { display: grid; }
.association-row strong { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 400; }
.association-row small { color: #657169; font-size: .75rem; }
.association-mark { padding: .35rem .65rem; border: 1px solid var(--line); border-radius: 2rem; color: var(--fern); font-size: .68rem; font-weight: 750; }
.association-arrow { font-size: 1.45rem; }

.council { padding-top: 9rem; }
.council-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: end; margin-bottom: 4rem; }
.council-leadership { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1rem; }
.council-leadership article { min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.6rem; background: var(--forest-deep); color: white; }
.council-leadership article:first-child { background: var(--ochre); }
.council-leadership span { font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.council-leadership h3 { margin: 2rem 0 0; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.45rem); font-weight: 400; }
.councillor-list { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 1rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.councillor-list span { min-height: 82px; display: flex; align-items: center; padding: 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.05rem; }
.signup { max-width:none; padding-inline:max(5vw,1.25rem); background:var(--ochre); color:white; }
.signup > * { width:min(100%,var(--max)); margin-inline:auto; }
.signup .section-kicker { color:#fff3dc; }
.signup .section-kicker span { background:transparent; }
.signup-shell { display:grid; grid-template-columns:.8fr 1.2fr; gap:clamp(3rem,7vw,7rem); align-items:start; }
.signup-intro { position:sticky; top:110px; }
.signup-intro h2 { color:white; }
.signup-intro > p:not(.eyebrow) { max-width:510px; margin:2rem 0; font-family:var(--serif); font-size:clamp(1.15rem,2vw,1.45rem); line-height:1.45; }
.signup-demo-note { max-width:500px; display:flex; gap:1rem; align-items:flex-start; padding:1.2rem 1.35rem; border:1px solid rgba(255,255,255,.38); background:rgba(91,33,8,.16); }
.signup-demo-note > span { width:30px; height:30px; flex:0 0 auto; display:grid; place-items:center; border:1px solid currentColor; border-radius:50%; font-family:var(--serif); font-style:italic; }
.signup-demo-note p { margin:0; font-size:.78rem; line-height:1.5; }
.signup-form { padding:clamp(1.5rem,4vw,3.5rem); background:var(--paper); color:var(--ink); box-shadow:18px 18px 0 rgba(76,28,7,.22),0 28px 70px rgba(69,28,10,.2); }
.signup-fields { display:grid; grid-template-columns:1fr 1fr; gap:1.15rem; }
.signup-fields label { display:grid; gap:.45rem; }
.signup-fields label > span, .signup-topics legend { font-size:.71rem; font-weight:850; letter-spacing:.11em; text-transform:uppercase; }
.signup-fields .field-wide { grid-column:1 / -1; }
.signup-fields input { width:100%; min-height:55px; padding:.85rem 1rem; border:1px solid var(--line); border-radius:0; background:#f6f0e3; color:var(--ink); }
.signup-fields input:focus { outline:3px solid rgba(207,111,43,.22); border-color:var(--ochre); }
.signup-fields input::placeholder { color:#748078; }
.signup-topics { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; margin:2rem 0; padding:0; border:0; }
.signup-topics legend { width:100%; margin-bottom:.8rem; padding:0; color:var(--ochre); }
.signup-topics label { position:relative; min-height:104px; display:flex; gap:.9rem; align-items:flex-start; padding:1rem; border:1px solid var(--line); background:#f6f0e3; cursor:pointer; transition:border-color .2s,background .2s,transform .2s; }
.signup-topics label:hover { transform:translateY(-2px); border-color:var(--ochre); }
.signup-topics input { width:22px; height:22px; flex:0 0 auto; margin:.1rem 0 0; accent-color:var(--forest-deep); }
.signup-topics label:has(input:checked) { border-color:var(--forest-deep); background:#e4eadf; box-shadow:inset 5px 0 0 var(--forest-deep); }
.signup-topics label > span { display:grid; gap:.2rem; }
.signup-topics strong { font-family:var(--serif); font-size:1.08rem; font-weight:400; line-height:1.25; }
.signup-topics small { color:#637068; font-size:.7rem; line-height:1.4; }
.signup-submit { display:flex; align-items:center; gap:1.25rem; padding-top:1.4rem; border-top:1px solid var(--line); }
.signup-submit p { margin:0; color:#657169; font-size:.72rem; line-height:1.45; }
.signup-submit p.is-confirmed { color:var(--forest); font-weight:750; }
.practical { padding: 6rem max(5vw, 1.25rem); background: var(--forest); color: white; }
.practical-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 6vw; }
.practical-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.practical-details p { display: grid; margin: 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.25); }
.practical-details span { color: #adbbb3; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.practical-details strong, .practical-details a { margin-top: .45rem; font-family: var(--serif); font-size: 1.05rem; font-weight: 400; }
.site-footer { min-height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.5rem max(5vw, 1.25rem); background: var(--forest-deep); color: #c9d5cf; font-size: .73rem; }
.footer-brand { display: flex; align-items: center; gap: .75rem; }
.footer-brand img { object-fit: contain; }
.footer-brand span { display: grid; }
.footer-brand strong { color: white; font-family: var(--serif); font-size: 1.15rem; }
.footer-brand small { color: #93a69d; }

@keyframes heroIn { from { opacity: .55; transform: scale(1.07); } to { opacity: 1; transform: scale(1.015); } }
@keyframes breathe { 0% { transform: scale(1.01) translate3d(-.4%, .2%, 0); } 50% { transform: scale(1.07) translate3d(1%, -.5%, 0); } 100% { transform: scale(1.035) translate3d(-.5%, 1%, 0); } }

@media (max-width: 880px) {
  .council-heading { grid-template-columns: 1fr; }
  .council-leadership { grid-template-columns: 1fr; }
  .council-leadership article { min-height: 140px; }
  .councillor-list { grid-template-columns: repeat(2, 1fr); }
  .site-header { height: 70px; }
  .menu-button { display: flex; }
  .navigation { position: fixed; inset: 70px 0 auto; display: grid; gap: 0; padding: .75rem 1.25rem 1.25rem; background: var(--cream); color: var(--ink); transform: translateY(-130%); opacity: 0; transition: transform .25s, opacity .25s; }
  .navigation.open { transform: translateY(0); opacity: 1; }
  .navigation a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .navigation .nav-cta { margin-top: .6rem; padding-inline: .8rem; text-align: center; }
  .hero-content { margin-bottom: 4rem; }
  .hero-marker { display: none; }
  .intro-grid, .memory-heading, .associations-heading, .nature-layout, .upload-panel, .practical-inner, .deposit-heading, .signup-shell { grid-template-columns: 1fr; }
  .signup-intro { position:static; }
  .village-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 330px 180px; }
  .village-mosaic .mosaic-main { grid-column: 1 / 3; grid-row: auto; }
  .nature-photo-wrap { max-width: 650px; }
  .route-badge { right: 1rem; }
  .postcard-gallery { grid-template-columns: 1fr 1fr; }
  .postcard-large { grid-column: 1 / 3; grid-row: auto; }
  .practical-details { margin-top: 1rem; }
}

@media (max-width: 560px) {
  .gallery-actions { justify-content: stretch; margin-top: -2.5rem; }
  .gallery-actions .button { width: 100%; }
  .photo-lightbox { width: 100vw; max-height: 100svh; }
  .photo-lightbox figure > img { max-height: 70svh; }
  .lightbox-controls { grid-template-columns: 1fr 1fr; }
  .lightbox-controls [data-lightbox-play] { grid-column: 1 / 3; grid-row: 2; border-top: 1px solid rgba(255,255,255,.18); }
  .councillor-list { grid-template-columns: 1fr; }
  .memory-history-link { align-items: flex-start; flex-direction: column; padding: 1.25rem; }
  .hero-identity { gap: 1rem; }
  .hero-crest { width: clamp(62px, 19vw, 82px); }
  .hero h1 { font-size: clamp(4.6rem, 22vw, 6.5rem); }
  .hero-lead { margin: 1.5rem 0 2rem; font-size: 1.06rem; }
  .hero-actions { display: grid; }
  .village-mosaic { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(3, 230px); }
  .village-mosaic .mosaic-main { grid-column: auto; }
  .route-facts { grid-template-columns: 1fr; }
  .route-facts li { grid-template-columns: 110px 1fr; align-items: baseline; }
  .postcard-gallery { grid-template-columns: 1fr; }
  .postcard-large { grid-column: auto; }
  .deposit-steps { grid-template-columns: 1fr; }
  .association-row { grid-template-columns: 36px 1fr; padding: 1rem 0; }
  .association-row > :last-child { display: none; }
  .practical-details { grid-template-columns: 1fr; }
  .signup-fields, .signup-topics { grid-template-columns:1fr; }
  .signup-submit { align-items:stretch; flex-direction:column; }
  .signup-submit .button { width:100%; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.site-header.solid { background: var(--cream); color: var(--ink); }
.mayors-page { padding-top: 78px; }
.mayors-hero { min-height: 68vh; display: grid; align-items: end; padding: clamp(5rem, 10vw, 9rem) max(5vw, 1.25rem); color: white; background: linear-gradient(115deg, rgba(7,25,18,.9), rgba(7,25,18,.35)), url("assets/images/place-nebias.jpg") center 42% / cover; }
.mayors-hero > div { width: min(100%, var(--max)); margin: 0 auto; }
.mayors-hero h1 { max-width: 850px; margin: .5rem 0 1.5rem; font-family: var(--serif); font-size: clamp(4rem, 10vw, 8.5rem); font-weight: 400; line-height: .82; letter-spacing: -.055em; }
.mayors-hero h1 em { color: var(--sun); font-weight: 400; }
.mayors-hero > div > p:last-child { max-width: 620px; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.45rem); }
.mayors-section { padding-top: 7rem; }
.mayors-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: end; margin-bottom: 4rem; }
.mayor-timeline { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.mayor-timeline li { display: grid; grid-template-columns: minmax(150px,.55fr) 1.4fr auto; gap: 2rem; align-items: start; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.mayor-years { color: var(--ochre); font-family: var(--serif); font-size: 1.1rem; }
.mayor-timeline h3 { margin: -.2rem 0 .4rem; font-family: var(--serif); font-size: clamp(1.7rem,3vw,2.5rem); font-weight: 400; }
.mayor-timeline p { max-width: 650px; margin: 0; color: #657169; }
.mayor-status { padding: .4rem .7rem; border-radius: 2rem; background: var(--sun); color: var(--forest-deep); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.history-callout { margin-top: 5rem; padding: clamp(2rem,5vw,4.5rem); background: var(--forest-deep); color: white; }
.history-callout h2 { max-width: 750px; margin: .7rem 0 1.2rem; font-family: var(--serif); font-size: clamp(2.5rem,5vw,4.5rem); font-weight: 400; line-height: .95; }
.history-callout > p:not(.eyebrow) { max-width: 760px; color: #c9d5cf; }
.history-callout .button { margin-top: 1rem; background: var(--sun); color: var(--forest-deep); }
.source-note { max-width: 820px; margin: 2rem auto 0; color: #657169; font-size: .78rem; text-align: center; }
.source-note p { margin: .35rem 0 0; }
@media (max-width: 880px) { .mayors-intro { grid-template-columns: 1fr; } .mayor-timeline li { grid-template-columns: 135px 1fr; gap: 1rem; } .mayor-status { grid-column: 2; justify-self: start; } }
@media (max-width: 560px) { .mayors-page { padding-top: 70px; } .mayors-hero { min-height: 60vh; } .mayor-timeline li { grid-template-columns: 1fr; } .mayor-status { grid-column: auto; } }

/* Direction esthétique : carnet patrimonial pyrénéen */
:root { --ink:#102019; --forest:#123d2b; --forest-deep:#06271d; --fern:#315e43; --cream:#f1ecdf; --paper:#fffaf0; --ochre:#cf6f2b; --sun:#f2c45f; --line:rgba(16,32,25,.2); --serif:Baskerville,"Palatino Linotype",Palatino,Georgia,serif; --max:1320px; }
::selection { background:var(--sun); color:var(--forest-deep); }
body { background-color:var(--cream); background-image:radial-gradient(rgba(42,58,47,.055) .7px,transparent .7px); background-size:7px 7px; }
.site-header { height:92px; padding-inline:max(4vw,2rem); background:linear-gradient(180deg,rgba(4,24,17,.48),transparent); }
.site-header.scrolled { height:72px; background:rgba(241,236,223,.94); }
.brand img { width:48px; height:48px; filter:drop-shadow(0 5px 10px rgba(0,0,0,.2)); }
.brand strong { font-size:1.6rem; }
.navigation a { font-size:.82rem; letter-spacing:.02em; }
.nav-cta { padding:.72rem 1.15rem; background:rgba(255,255,255,.08); }
.site-header.scrolled .nav-cta { background:var(--forest-deep); color:white; border-color:var(--forest-deep); }
.hero { min-height:min(960px,100svh); border-bottom:9px solid var(--sun); }
.hero-image { filter:saturate(.9) contrast(1.04); }
.hero-shade { background:linear-gradient(90deg,rgba(3,25,17,.94) 0%,rgba(3,25,17,.69) 40%,rgba(3,25,17,.18) 72%),linear-gradient(0deg,rgba(3,20,14,.72),transparent 52%); }
.hero-content { width:min(1080px,90vw); margin-bottom:clamp(4.5rem,10vh,7.5rem); }
.hero-identity { align-items:center; gap:clamp(1.5rem,3vw,3.2rem); }
.hero-crest { width:clamp(86px,8vw,130px); padding:clamp(.65rem,1.1vw,1rem); border:1px solid rgba(255,255,255,.5); background:rgba(255,255,255,.1); filter:drop-shadow(0 18px 28px rgba(0,0,0,.28)); backdrop-filter:blur(8px); }
.hero h1 { font-size:clamp(7rem,14vw,13rem); text-shadow:0 14px 45px rgba(0,0,0,.22); }
.hero-lead { max-width:780px; margin:2.2rem 0 2.4rem; padding-left:1.5rem; border-left:4px solid var(--sun); font-size:clamp(1.25rem,2vw,1.65rem); }
.hero-actions { gap:1rem; }
.button { min-height:54px; padding:.85rem 1.4rem; letter-spacing:.035em; }
.button-primary { box-shadow:0 12px 34px rgba(0,0,0,.22); }
.hero-marker { right:max(3vw,1.25rem); bottom:4rem; }
.section { padding-top:clamp(6rem,11vw,10rem); padding-bottom:clamp(6rem,11vw,10rem); }
.section-kicker { margin-bottom:clamp(3.5rem,6vw,5.5rem); }
.section-kicker::after { content:""; height:1px; flex:1; margin-left:1rem; background:currentColor; opacity:.24; }
.section-kicker span { width:2.65rem; height:2.65rem; background:var(--paper); box-shadow:0 5px 18px rgba(17,36,27,.08); }
h2 { color:var(--forest-deep); font-size:clamp(3.4rem,6.5vw,6.4rem); }
.intro-grid { padding:clamp(2rem,5vw,4.5rem); border-left:6px solid var(--ochre); background:rgba(255,250,240,.88); box-shadow:0 28px 80px rgba(29,43,35,.1); }
.intro-copy .lead { margin-top:0; }
.village-mosaic { grid-template-rows:250px 250px; gap:1.25rem; margin-top:2rem; padding:1.25rem; background:var(--paper); box-shadow:0 28px 75px rgba(29,43,35,.14); }
.village-mosaic figure { box-shadow:inset 0 0 0 1px rgba(255,255,255,.35); }
.village-mosaic figcaption { left:1.25rem; bottom:1.25rem; padding:.55rem .8rem; border-left:3px solid var(--sun); }
.terroir-band { min-height:690px; border-block:1px solid rgba(255,255,255,.22); background:linear-gradient(90deg,rgba(176,77,20,.98) 0%,rgba(176,77,20,.94) 44%,rgba(176,77,20,.54) 68%,rgba(5,31,22,.16)),url("assets/images/place-nebias.jpg") center 44%/cover; }
.terroir-band::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(6,28,20,.42),transparent 48%); pointer-events:none; }
.terroir-word { z-index:1; bottom:-.23em; color:rgba(255,255,255,.12); font-size:clamp(10rem,23vw,26rem); }
.terroir-content { max-width:650px; margin-left:max(8vw,1.25rem); padding:clamp(2rem,4vw,3.5rem); border-left:1px solid rgba(255,255,255,.45); background:rgba(123,49,11,.18); backdrop-filter:blur(2px); }
.terroir-content h2 { color:white; font-size:clamp(3.7rem,6vw,6.2rem); }
.nature { position:relative; isolation:isolate; background:rgba(255,250,240,.88); box-shadow:0 0 0 100vmax rgba(255,250,240,.88); clip-path:inset(0 -100vmax); }
.nature-photo-wrap::before { content:""; position:absolute; inset:2.2rem -1.6rem -1.6rem 2.2rem; background:var(--ochre); }
.nature-photo-wrap > img { position:relative; z-index:1; box-shadow:0 28px 70px rgba(14,42,29,.24); }
.route-badge { z-index:2; width:158px; border:8px solid var(--paper); box-shadow:0 15px 35px rgba(15,36,26,.2); }
.route-facts { gap:0; padding:0; border:1px solid var(--line); }
.route-facts li { min-height:94px; justify-content:center; padding:1rem; border-right:1px solid var(--line); }
.route-facts li:last-child { border-right:0; }
.route-actions .button-dark { box-shadow:8px 8px 0 var(--sun); }
.memory { position:relative; background:#e6dcc8; box-shadow:0 0 0 100vmax #e6dcc8; clip-path:inset(0 -100vmax); }
.memory-heading { margin-bottom:3rem; }
.postcard-gallery { gap:1.5rem; padding:clamp(1rem,2vw,1.8rem); border:1px solid rgba(83,65,38,.18); background:rgba(255,250,240,.48); }
.postcard { padding:1rem 1rem .55rem; border:1px solid rgba(83,65,38,.14); background:#eee4d0; box-shadow:0 24px 55px rgba(55,44,28,.2); }
.postcard:nth-child(2) { transform:rotate(1.4deg) translateY(.7rem); }
.postcard:nth-child(3) { transform:rotate(-1.5deg) translateY(-.4rem); }
.postcard-large { transform:rotate(-.9deg); }
.postcard-meta span { font-size:1.12rem; }
.gallery-actions .button { background:var(--ochre); box-shadow:7px 7px 0 var(--forest-deep); }
.upload-panel { margin-top:5rem; border-top:8px solid var(--sun); box-shadow:0 30px 75px rgba(14,35,25,.24); }
.dropzone { border-width:2px; background:rgba(255,255,255,.055); }
.deposit-panel { padding-top:clamp(2.5rem,5vw,4.5rem); box-shadow:0 22px 60px rgba(44,39,29,.1); }
.deposit-steps li { border-top-width:5px; box-shadow:0 12px 28px rgba(60,48,30,.07); }
.thanks-example { border:1px solid rgba(139,92,49,.2); }
.memory-history-link { min-height:150px; margin-top:5rem; padding:clamp(1.7rem,3vw,2.7rem); border:0; border-left:8px solid var(--sun); background:linear-gradient(110deg,var(--forest-deep),#174632); color:white; box-shadow:0 24px 55px rgba(12,37,28,.2); }
.memory-history-link strong { font-size:clamp(2rem,4vw,3.3rem); }
.memory-history-link small { color:var(--sun); }
.memory-history-link:hover { background:linear-gradient(110deg,#174632,var(--forest-deep)); }
.associations { padding-top:10rem; }
.association-list { display:grid; gap:.75rem; border-top:0; }
.association-row { min-height:104px; padding-inline:1.25rem; border:1px solid var(--line); background:rgba(255,250,240,.72); }
.association-row.featured { border-left:7px solid var(--ochre); background:var(--paper); box-shadow:0 15px 40px rgba(20,37,28,.08); }
.association-row.featured:hover { padding-inline:1.7rem; background:var(--sun); }
.association-index { font-size:1rem; }
.council { padding-top:10rem; border-top:1px solid var(--line); }
.council-leadership { gap:1.25rem; }
.council-leadership article { min-height:220px; padding:2rem; box-shadow:0 18px 45px rgba(14,37,27,.14); }
.council-leadership article:first-child { background:var(--ochre); transform:translateY(-1rem); }
.councillor-list { margin-top:1.25rem; background:rgba(255,250,240,.72); }
.councillor-list span { min-height:94px; padding:1.25rem; }
.practical { position:relative; overflow:hidden; padding-block:clamp(6rem,9vw,9rem); background:radial-gradient(circle at 85% 25%,#2d6348 0,var(--forest) 28%,var(--forest-deep) 74%); }
.practical::before { content:"MAIRIE"; position:absolute; right:-.03em; bottom:-.27em; color:rgba(255,255,255,.045); font-family:var(--serif); font-size:clamp(10rem,24vw,24rem); line-height:1; }
.practical-inner { position:relative; z-index:1; }
.practical h2 { color:white; }
.practical-details p { padding:1.3rem; border:1px solid rgba(255,255,255,.22); background:rgba(255,255,255,.035); }
.site-footer { border-top:1px solid rgba(255,255,255,.15); }
@media (max-width:880px) {
  .site-header { height:76px; padding-inline:1.25rem; }
  .hero { min-height:820px; }
  .hero-content { width:min(92vw,760px); }
  .hero-crest { width:clamp(72px,14vw,100px); }
  .hero h1 { font-size:clamp(6rem,17vw,9rem); }
  .intro-grid { padding:clamp(1.5rem,5vw,3rem); }
  .terroir-band { background-position:62% center; }
  .terroir-content { margin-left:1.25rem; }
  .nature-photo-wrap::before { inset:1.4rem -.8rem -.8rem 1.4rem; }
  .council-leadership article:first-child { transform:none; }
}
@media (max-width:560px) {
  .hero { min-height:720px; }
  .hero-crest { width:62px; padding:.5rem; }
  .hero h1 { font-size:clamp(4.5rem,23vw,6.6rem); }
  .hero-lead { padding-left:1rem; }
  .section-kicker::after { margin-left:0; }
  .village-mosaic { padding:.75rem; gap:.75rem; }
  .terroir-band { min-height:650px; background-position:66% center; }
  .terroir-content { width:calc(100% - 2.5rem); margin-inline:1.25rem; padding:1.5rem; }
  .route-badge { width:128px; border-width:6px; }
  .postcard-gallery { padding:.8rem; }
  .postcard:nth-child(2),.postcard:nth-child(3),.postcard-large { transform:none; }
  .memory-history-link { min-height:0; margin-top:3rem; }
}

.memory-quote { max-width: 540px; margin: 1.5rem 0 0; padding-left: 1.25rem; border-left: 4px solid var(--ochre); color: #6f3b18; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); font-style: italic; line-height: 1.4; }
