:root {
  color-scheme: dark;
  --page: #08111f;
  --page-glow: #102444;
  --surface: #0e1b2d;
  --surface-strong: #13223a;
  --field: #0b1728;
  --text: #f5f7fa;
  --muted: #a9b6c8;
  --subtle: #7f90a8;
  --line: #2a3a51;
  --brand: #31538f;
  --brand-strong: #26437b;
  --accent: #f8b800;
  --on-accent: #152033;
  --button-bg: #f8b800;
  --button-text: #152033;
  --button-hover: #ffd04b;
  --panel-text: #ffffff;
  --shadow: 0 30px 90px #00000055;
  --display: Arial, Helvetica, sans-serif;
  --sans: Arial, Helvetica, sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
  --page: #f4f1e8;
  --page-glow: #e5eaf2;
  --surface: #fffefa;
  --surface-strong: #e9eef5;
  --field: #ffffff;
  --text: #12233e;
  --muted: #53627a;
  --subtle: #66758b;
  --line: #cdd5e0;
  --brand: #26437b;
  --brand-strong: #19355f;
  --on-accent: #172c52;
  --button-bg: #26437b;
  --button-text: #ffffff;
  --button-hover: #19355f;
  --panel-text: #ffffff;
  --shadow: 0 30px 80px #172c5222;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 10%, var(--page-glow), transparent 32rem),
    var(--page);
  color: var(--text);
  font: 16px/1.65 var(--sans);
  font-stretch: normal;
  transition: background-color .2s ease, color .2s ease;
}
button, input, select, textarea { font: inherit; color: inherit; }
button, a { touch-action: manipulation; }
a { color: inherit; }
button { cursor: pointer; }
button:disabled, [aria-disabled="true"] { cursor: not-allowed; }
img { display: block; max-width: 100%; }
a, button, input, select, textarea { outline-offset: 4px; }
:focus-visible { outline: 3px solid var(--accent); }
::selection { background: var(--accent); color: var(--on-accent); }
[hidden] { display: none !important; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; z-index: 30; top: -100px; left: 20px; background: var(--accent); color: var(--on-accent); padding: 14px 18px; }
.skip:focus { top: 10px; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 106px; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 14px; align-items: center; text-decoration: none; flex-shrink: 0; }
.header-logo-frame { width: 64px; height: 64px; flex: 0 0 64px; display: grid; place-items: center; background: var(--brand-strong); border-radius: 50%; }
.header-logo { width: auto; height: 42px; object-fit: contain; }
.brand-name { font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: 1px; }
.brand-sub { display: block; font-family: var(--sans); font-size: 8px; font-weight: 600; letter-spacing: 2px; margin-top: 2px; color: var(--muted); }
.site-header nav { display: flex; align-items: center; gap: 30px; order: 2; }
.site-header nav a { font-size: 12px; font-weight: 650; text-decoration: none; }
.site-header nav > a:not(.button) { color: var(--muted); }
.site-header nav > a:not(.button):hover { color: var(--text); text-decoration: underline; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 8px; order: 3; }
.nav-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin: 0 0 2px 4px; }
.theme-toggle, .menu-toggle { min-height: 44px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 9px; padding: 9px 12px; font-size: 11px; font-weight: 650; transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
.theme-toggle.icon-only { width: 44px; padding: 0; }
.theme-toggle:hover, .menu-toggle:hover { border-color: var(--accent); color: var(--text); }
.theme-toggle svg, .menu-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon-dark { display: none; }
html[data-theme="light"] .theme-icon-dark { display: block; }
html[data-theme="light"] .theme-icon-light { display: none; }
.menu-toggle { display: none; }

.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 26px; min-height: 50px; padding: 14px 21px; border: 1px solid var(--button-bg); border-radius: 5px; background: var(--button-bg); color: var(--button-text); font-size: 12px; font-weight: 700; text-decoration: none; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.button:hover { background: var(--button-hover); border-color: var(--button-hover); }
.button span { font-size: 18px; line-height: 1; }
.button.small { min-height: 44px; padding: 10px 16px; gap: 14px; }
.button.light { background: var(--surface); color: var(--text); border-color: var(--line); }
.button.light:hover { background: var(--surface-strong); border-color: var(--accent); }
.button[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 76px; padding-block: 70px 62px; align-items: center; }
.eyebrow { font-size: 10px; font-weight: 750; letter-spacing: 2.2px; margin: 0 0 20px; display: flex; align-items: center; gap: 13px; color: var(--muted); }
.eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--accent); display: inline-block; flex-shrink: 0; }
.country-flag { font-size: 13px; letter-spacing: 0; vertical-align: -1px; }
.hero h1 { font-family: var(--display); font-size: clamp(48px, 5vw, 74px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 28px; font-weight: 700; text-wrap: balance; }
.hero h1 span { color: var(--accent); }
.intro { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0 0 31px; max-width: 500px; }
.hero-actions { display: flex; gap: 23px; align-items: center; flex-wrap: wrap; }
.secondary-link { font-size: 12px; font-weight: 650; color: var(--muted); text-decoration: underline; text-underline-offset: 5px; }
.secondary-link:hover { color: var(--text); }
.brand-panel { min-height: 0; width: min(500px, 100%); aspect-ratio: 1; justify-self: end; border: 1px solid #ffffff20; border-radius: 50%; background: var(--brand-strong); color: var(--panel-text); display: flex; align-items: center; justify-content: center; flex-direction: column; position: relative; overflow: hidden; padding: 28px 32px; isolation: isolate; box-shadow: var(--shadow); }
.brand-panel::before, .brand-panel::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid #ffffff13; border-radius: 50%; z-index: -1; left: 120px; top: 115px; }
.brand-panel::after { width: 680px; height: 680px; left: 40px; top: 35px; }
.panel-label { font-size: 9px; letter-spacing: 2.6px; color: #d9e3f5; margin-bottom: 24px; }
.hero-logo { width: auto; height: 350px; object-fit: contain; }
.brand-panel p { font-size: 12px; letter-spacing: .5px; margin: 23px 0 15px; }
.panel-rule { width: 36px; height: 3px; background: var(--accent); }
.values-strip { display: flex; gap: 30px; align-items: center; border-block: 1px solid var(--line); padding-block: 21px; font-size: 11px; font-weight: 700; }
.brand-motto { margin: 0; color: var(--text); font-family: var(--display); font-size: clamp(17px, 1.7vw, 22px); line-height: 1.3; letter-spacing: -.01em; }
.values-strip > a { margin-left: auto; text-decoration: none; color: var(--accent); }
.values-strip > a span { margin-left: 12px; }

.agenda { padding-block: 82px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
h2 { font-family: var(--display); font-size: clamp(34px, 3.3vw, 48px); line-height: 1.16; letter-spacing: -.015em; margin: 0; font-weight: 700; }
.section-heading > p { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 0 0 2px; }
.agenda-toolbar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); gap: 20px; }
.view-switch { display: flex; gap: 30px; }
.view-switch button { background: none; border: 0; border-bottom: 3px solid transparent; color: var(--muted); padding: 14px 0 16px; min-height: 50px; font-size: 12px; font-weight: 650; }
.view-switch button:hover { color: var(--text); }
.view-switch button[aria-pressed="true"] { border-bottom-color: var(--accent); color: var(--text); }
#upcoming-count { background: var(--surface-strong); display: inline-block; font-size: 10px; border: 1px solid var(--line); border-radius: 4px; min-width: 23px; padding: 1px 6px; margin-left: 5px; }
.agenda-note { font-size: 9px; letter-spacing: 1.3px; color: var(--subtle); }
.filters { display: grid; grid-template-columns: minmax(200px, 1.5fr) 1fr 1.15fr auto; gap: 16px; align-items: end; margin-block: 25px; }
label { display: block; font-size: 12px; font-weight: 650; }
label > span { display: block; font-size: 10px; color: var(--muted); font-weight: 550; margin-bottom: 7px; }
input, select, textarea { width: 100%; background: var(--field); border: 1px solid var(--line); border-radius: 5px; padding: 11px 13px; min-height: 46px; font-size: 13px; }
textarea { resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--subtle); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
input::placeholder, textarea::placeholder { color: var(--subtle); }
.reset { font-size: 10px; text-decoration: underline; text-underline-offset: 4px; border: 0; background: none; min-height: 46px; padding: 8px; color: var(--muted); }
.reset:hover { color: var(--text); }
.reset span { margin-left: 5px; }
.results-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 9px; letter-spacing: .8px; color: var(--subtle); min-height: 34px; }
.results-heading p { margin: 0 0 12px; }
.results-heading > span { font-size: 8px; }
.event-row { display: grid; grid-template-columns: 110px minmax(160px, 1.6fr) minmax(125px, 1fr); gap: 22px; align-items: center; }
.event-row { padding: 22px 4px; border-top: 1px solid var(--line); transition: background-color .18s ease; }
.event-row:last-child { border-bottom: 1px solid var(--line); }
.event-row:hover { background: var(--surface); }
.event-date { display: flex; gap: 12px; align-items: center; }
.date-day { font-family: var(--display); font-size: 38px; line-height: 1; font-weight: 700; letter-spacing: -.02em; color: var(--accent); }
.date-month { font-size: 9px; font-weight: 550; text-transform: uppercase; line-height: 1.6; letter-spacing: .5px; color: var(--muted); }
.event-name h3, .event-name a { font-size: 15px; font-weight: 650; letter-spacing: -.2px; line-height: 1.35; margin: 0 0 5px; overflow-wrap: anywhere; }
.event-name a { color: var(--text); text-underline-offset: 4px; }
.event-name a:hover { color: var(--accent); }
.event-place strong { font-size: 12px; font-weight: 650; }
.event-time { display: block; color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.event-row.past { color: var(--muted); }
.event-row.past .date-day { color: var(--subtle); }
.agenda-bottom { font-size: 11px; color: var(--muted); text-align: center; margin: 29px 0 0; }
.agenda-bottom a { color: var(--accent); text-underline-offset: 4px; font-weight: 650; }
.load-more { display: flex; margin: 26px auto; }
.empty { text-align: center; padding: 45px 15px; border-block: 1px solid var(--line); }
.empty h3 { font-size: 22px; margin: 0 0 12px; }
.empty p { font-size: 13px; color: var(--muted); }

.about { background: var(--surface); padding-block: 78px; border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 100px; }
.about h2 { font-size: clamp(38px, 4vw, 52px); line-height: 1.15; }
.about h2 span { color: var(--accent); }
.text-highlight { background: var(--accent); color: var(--on-accent); padding: .02em .13em .06em; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.big-copy { font-size: 22px; line-height: 1.55; letter-spacing: normal; margin: 0 0 22px; }
.about-copy > p:not(.big-copy) { font-size: 13px; line-height: 1.9; color: var(--muted); margin: 14px 0; }
.formats { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.formats span { border: 1px solid var(--line); border-radius: 4px; padding: 7px 11px; background: var(--field); font-size: 10px; color: var(--muted); }
.text-link { display: inline-block; font-size: 12px; font-weight: 650; text-underline-offset: 6px; margin-top: 28px; color: var(--accent); }
.text-link span { margin-left: 20px; font-size: 18px; }

.gallery { padding-block: 82px; }
.photo-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.photo-carousel-controls > span { color: var(--subtle); font-size: 9px; letter-spacing: 1.2px; font-variant-numeric: tabular-nums; }
.photo-carousel-controls > div { display: flex; gap: 8px; }
.carousel-arrow { width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--muted); display: grid; place-items: center; transition: border-color .18s ease, color .18s ease, background-color .18s ease; }
.carousel-arrow:hover, .carousel-arrow:focus-visible { border-color: var(--accent); color: var(--accent); background: var(--surface-strong); }
.carousel-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.photo-grid { display: flex; gap: 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scroll-padding-inline: 0; scrollbar-width: none; }
.photo-grid::-webkit-scrollbar { display: none; }
.photo-card { flex: 0 0 100%; min-width: 0; min-height: 0; aspect-ratio: 16 / 9; margin: 0; position: relative; overflow: hidden; background: var(--surface); text-decoration: none; display: flex; flex-direction: column; scroll-snap-align: start; }
.photo-media { position: relative; min-height: 0; flex: 1; overflow: hidden; }
.photo-media img, .photo-media .photo-placeholder { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.photo-media img { transition: transform .28s ease, filter .28s ease; }
.photo-card:hover .photo-media img, .photo-card:focus-visible .photo-media img { filter: brightness(1.05); transform: scale(1.02); }
.photo-carousel-stage { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); isolation: isolate; }
.photo-carousel-stage::after { content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: 62%; background: linear-gradient(180deg, #050b14d6, transparent); pointer-events: none; }
.gallery-feature { width: min(1440px, calc(100% - 64px)); }
.gallery-feature .section-heading { position: absolute; z-index: 2; inset: 42px 48px auto; margin: 0; color: #ffffff; pointer-events: none; }
.gallery-feature .section-heading h2 { color: #ffffff; text-shadow: 0 2px 18px #050b14aa; }
.gallery-feature .section-heading .eyebrow, .gallery-feature .section-heading > p { color: #e4eaf2; text-shadow: 0 2px 14px #050b14; }
.gallery-feature .photo-carousel-controls { position: absolute; z-index: 3; inset: 0; margin: 0; pointer-events: none; }
.gallery-feature .photo-carousel-controls > span { position: absolute; right: 18px; bottom: 10px; color: var(--subtle); }
.gallery-feature .photo-carousel-controls > div { display: contents; }
.gallery-feature .carousel-arrow { position: absolute; top: 50%; border-color: #ffffff55; background: #050b14a8; color: #ffffff; transform: translateY(-50%); pointer-events: auto; }
.gallery-feature .carousel-arrow:hover, .gallery-feature .carousel-arrow:focus-visible { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.gallery-feature #photo-previous { left: 18px; }
.gallery-feature #photo-next { right: 18px; }
.gallery-feature .photo-card:focus-visible { outline-offset: -5px; }
.photo-placeholder { position: relative; min-height: 220px; background: radial-gradient(circle at 70% 28%, var(--brand), transparent 2px, transparent 60px), linear-gradient(135deg, var(--surface-strong), var(--brand-strong)); isolation: isolate; }
.photo-placeholder::before, .photo-placeholder::after { content: ""; position: absolute; z-index: -1; width: 240px; height: 240px; border: 1px solid #f8b80055; border-radius: 50%; right: -55px; top: -60px; }
.photo-placeholder::after { width: 330px; height: 330px; right: -115px; top: -105px; }
.photo-number { position: absolute; left: 20px; top: 16px; font: 750 11px/1 var(--display); letter-spacing: 1px; color: #ffffffbb; }
.photo-hint { position: absolute; right: 18px; bottom: 16px; font-size: 8px; letter-spacing: 2px; color: #ffffffb3; }
.photo-legend, .gallery-image-legend { position: absolute; inset: auto 0 0; padding: 34px 14px 12px; background: linear-gradient(transparent, #050b14d9); color: #ffffff; font-size: 11px; font-weight: 650; line-height: 1.45; text-align: left; pointer-events: none; }
.photo-caption { min-height: 35px; padding: 8px 90px 8px 14px; background: var(--surface); color: var(--muted); font-size: 9px; line-height: 1.4; }
.gallery-home-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: 11px; font-weight: 650; text-underline-offset: 5px; }
.gallery-home-link:hover { color: var(--text); }
.gallery-home-icon { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--muted); transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
.gallery-home-icon:hover { border-color: var(--accent); color: var(--accent); }
.gallery-home-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gallery-page-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); align-items: end; gap: 70px; padding-block: 80px 42px; border-bottom: 1px solid var(--line); }
.gallery-page-heading h1 { font: 700 clamp(48px, 7vw, 86px)/1.03 var(--display); letter-spacing: -.025em; margin: 0; }
.gallery-page-heading h1 span { color: var(--accent); }
.gallery-heading-aside { padding-bottom: 5px; }
.gallery-heading-aside > span { display: block; margin-bottom: 10px; color: var(--subtle); font-size: 8px; font-weight: 700; letter-spacing: 1.5px; }
.gallery-heading-aside p { margin: 0 0 17px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.gallery-heading-aside a { min-height: 44px; display: inline-flex; align-items: center; gap: 16px; color: var(--accent); font-size: 11px; font-weight: 650; text-underline-offset: 5px; }
.gallery-heading-aside a:hover { color: var(--text); }
.gallery-count { min-height: 58px; margin: 0; padding-top: 26px; color: var(--subtle); font-size: 9px; letter-spacing: 1.2px; }
.full-gallery { min-height: calc(100dvh - 170px); padding-bottom: 92px; }
.full-gallery-grid { display: block; columns: 3; column-gap: 20px; }
.full-gallery-item { min-width: 0; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); break-inside: avoid; box-shadow: 0 14px 40px #00000018; transition: border-color .2s ease, box-shadow .2s ease; }
.full-gallery-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.gallery-open { display: block; position: relative; width: 100%; padding: 0; border: 0; background: var(--field); overflow: hidden; }
.gallery-open::after { content: "OUVRIR ↗"; position: absolute; right: 12px; top: 12px; padding: 7px 9px; border: 1px solid #ffffff55; border-radius: 4px; background: #050b14b8; color: #ffffff; font-size: 7px; font-weight: 700; letter-spacing: 1px; opacity: 0; transition: opacity .2s ease; }
.gallery-image-legend { z-index: 1; padding: 50px 15px 14px; }
.gallery-open img { width: 100%; height: auto; min-height: 0; object-fit: cover; transition: transform .28s ease, filter .28s ease; }
.gallery-open:hover img, .gallery-open:focus-visible img { filter: brightness(1.06); transform: scale(1.025); }
.gallery-open:hover::after, .gallery-open:focus-visible::after { opacity: 1; }
.full-gallery-item figcaption { min-height: 40px; display: flex; align-items: center; margin: 0; padding: 9px 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.45; }
.full-gallery-item > .photo-placeholder { height: auto; aspect-ratio: 4 / 3; }
.gallery-cta { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: end; margin-top: 68px; padding: 50px 54px; border: 1px solid #ffffff22; border-radius: 10px; background: var(--brand-strong); color: var(--panel-text); box-shadow: var(--shadow); }
.gallery-cta .eyebrow { color: #d9e3f5; }
.gallery-cta h2 { margin: 0; color: #ffffff; font-size: clamp(34px, 4vw, 50px); line-height: 1.1; }
.gallery-cta h2 span { color: var(--accent); }
.gallery-cta > div:last-child { justify-self: end; max-width: 370px; }
.gallery-cta > div:last-child p { margin: 0 0 22px; color: #d9e3f5; font-size: 12px; line-height: 1.8; }
.footer-shell .gallery-home-link { color: #aab8ca; }
.footer-shell .gallery-home-link:hover { color: #ffffff; }
#gallery-dialog { width: min(1000px, calc(100% - 32px)); }
#gallery-dialog h2 { position: absolute; z-index: 1; inset: auto 0 0; margin: 0; padding: 70px 64px 20px 20px; background: linear-gradient(transparent, #050b14e6); color: #ffffff; font-size: 20px; pointer-events: none; }
.gallery-dialog-stage { position: relative; display: grid; }
#gallery-dialog-image { width: 100%; max-height: 70dvh; object-fit: contain; background: var(--field); border-radius: 5px; }
.gallery-arrow { position: absolute; z-index: 1; top: 50%; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); box-shadow: var(--shadow); display: grid; place-items: center; transform: translateY(-50%); transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.gallery-arrow.previous { left: 14px; }
.gallery-arrow.next { right: 14px; }
.gallery-arrow:hover, .gallery-arrow:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.gallery-arrow svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gallery-dialog-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
#gallery-dialog-caption { margin-bottom: 0; }
#gallery-dialog-position { flex-shrink: 0; color: var(--subtle); font-size: 9px; letter-spacing: 1px; }
#gallery-dialog .close-dialog { z-index: 2; border-radius: 50%; background: #050b14b8; color: #ffffff; }

.contact { margin-block: 8px 82px; padding: 64px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 90px; align-items: center; }
.contact h2 { font-size: clamp(36px, 4vw, 50px); line-height: 1.15; }
.contact-grid p { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 0 0 25px; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }
.secondary-action { min-height: 44px; padding: 9px 0; border: 0; background: transparent; color: var(--muted); font-size: 11px; font-weight: 650; text-decoration: underline; text-underline-offset: 5px; }
.secondary-action:hover { color: var(--text); }
.contact-grid .contact-direct { font-size: 11px; margin: 17px 0 0; }
.contact-direct a { color: var(--accent); overflow-wrap: anywhere; text-underline-offset: 4px; }
.contact-grid .contact-social-note { font-size: 11px; margin: 8px 0 22px; }
.organization-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 24px 0 0; padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--field); }
.organization-detail { min-width: 0; }
.organization-detail dt { color: var(--subtle); font-size: 8px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.organization-detail dd { margin: 3px 0 0; color: var(--text); font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.organization-detail a { color: var(--accent); text-underline-offset: 3px; }
.organization-details.compact { grid-template-columns: 1fr; margin-block: 20px 24px; padding: 14px 16px; gap: 10px; }
dialog .organization-detail { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 10px; }
dialog .organization-detail dd { margin: 0; }
dialog #legal-details > p { margin-top: 0; }
#legal-contact a { color: var(--accent); text-underline-offset: 4px; }

.footer-shell { background: #050b14; color: #ffffff; border-top: 1px solid #ffffff18; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; padding-block: 30px; }
.footer-name { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-size: 16px; font-weight: 750; letter-spacing: 1px; text-decoration: none; }
.footer-name img { height: 60px; width: auto; }
.footer-name small { display: block; font-family: var(--sans); font-size: 7px; font-weight: 550; letter-spacing: 1.8px; margin-top: 4px; color: #aab8ca; }
.site-footer > small { font-size: 10px; color: #aab8ca; }
.plain-button { border: 0; background: none; font-size: 10px; text-decoration: underline; text-underline-offset: 4px; padding: 12px 0; color: #aab8ca; }
.plain-button:hover { color: #ffffff; }
.site-footer #social-links { display: flex; gap: 10px; margin-left: auto; }
.header-social-links { display: flex; gap: 8px; }
.social-link { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #ffffff28; border-radius: 50%; color: #dfe6ef; transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
.social-link:hover { border-color: var(--accent); background: #ffffff0b; color: var(--accent); }
.social-icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-social-links .social-link { border-color: var(--line); color: var(--muted); background: var(--surface); }
.header-social-links .social-link:hover { border-color: var(--accent); color: var(--accent); }

.notice { background: var(--surface-strong); border: 1px solid var(--line); padding: 22px; border-radius: 5px; font-size: 13px; }
.notice.error { background: #3b2b14; border-color: #665126; }
html[data-theme="light"] .notice.error { background: #fff5e3; border-color: #ead1a5; }
.notice.error p { margin-top: 0; }
dialog { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 46px; width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow: auto; box-shadow: 0 28px 100px #00000080; }
dialog::backdrop { background: #02060dba; backdrop-filter: blur(4px); }
dialog h2 { font-size: 32px; margin: 0 0 20px; overflow-wrap: anywhere; }
dialog h3 { font-size: 17px; }
dialog p { font-size: 13px; line-height: 1.7; color: var(--muted); }
dialog .eyebrow { font-size: 9px; padding-right: 22px; }
.close-dialog { position: absolute; top: 12px; right: 12px; background: none; border: 0; width: 44px; height: 44px; color: var(--muted); font-size: 25px; }
.close-dialog:hover { color: var(--text); }
.dialog-meta { font-weight: 650; color: var(--text); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.dialog-actions .button { font-size: 11px; gap: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form label { margin: 18px 0; }
form input, form textarea { margin-top: 6px; }
.form-status { color: var(--muted); }
body.modal-open { overflow: hidden; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .site-header nav { gap: 20px; }
  .site-header nav a { font-size: 11px; }
  .hero { gap: 42px; }
  .hero h1 { font-size: 55px; }
  .brand-panel { min-height: 0; padding: 26px; }
  .hero-logo { height: 315px; }
  .event-row { grid-template-columns: 92px minmax(160px, 1.6fr) 1fr; gap: 14px; }
  .about-grid, .contact-grid { gap: 55px; }
  .values-strip { gap: 22px; }
  .contact { padding: 52px; }
}

@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 90px; position: relative; }
  .header-logo-frame { width: 58px; height: 58px; flex-basis: 58px; }
  .header-logo { height: 38px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 7px; letter-spacing: 1.2px; }
  .brand { gap: 10px; }
  .site-header nav { display: none; position: absolute; top: 89px; left: 0; right: 0; z-index: 10; flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; box-shadow: var(--shadow); }
  .site-header nav.open { display: flex; }
  .site-header nav a { min-height: 44px; display: flex; align-items: center; padding-inline: 8px; }
  .site-header nav .button { justify-content: space-between; }
  .menu-toggle { display: flex; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-block: 48px; }
  .hero h1 { font-size: clamp(44px, 8.2vw, 62px); letter-spacing: -.02em; }
  .hero-copy { max-width: 640px; }
  .intro { font-size: 14px; }
  .brand-panel { min-height: 0; width: min(430px, 100%); justify-self: center; padding: 24px; }
  .hero-logo { height: 285px; }
  .panel-label { margin-bottom: 17px; }
  .brand-panel p { margin-top: 18px; }
  .values-strip { display: grid; grid-template-columns: 1fr; gap: 14px; font-size: 10px; }
  .values-strip > a { margin: 0; text-align: left; }
  .agenda, .gallery { padding-block: 54px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { margin-top: 17px; }
  .section-heading h2 { font-size: 35px; }
  .eyebrow { margin-bottom: 18px; }
  .agenda-note { display: none; }
  .view-switch { gap: 25px; }
  .view-switch button { font-size: 11px; }
  .filters { grid-template-columns: 1fr 1fr; gap: 15px; }
  .search-label { grid-column: 1 / -1; }
  .reset { grid-column: 1 / -1; text-align: left; min-height: 32px; padding: 0; }
  .results-heading > span { display: none; }
  .event-row { grid-template-columns: 62px minmax(0, 1fr); gap: 9px 13px; padding: 22px 0; }
  .event-date { grid-row: 1 / 3; align-self: start; flex-direction: column; align-items: flex-start; gap: 5px; }
  .date-day { font-size: 34px; }
  .date-month { font-size: 8px; letter-spacing: 0; }
  .date-month br { display: none; }
  .event-name { grid-column: 2; grid-row: 1; }
  .event-name h3, .event-name a { font-size: 14px; }
  .event-place { grid-column: 2; grid-row: 2; }
  .event-place strong { font-size: 11px; }
  .agenda-bottom { line-height: 1.8; }
  .agenda-bottom a { display: block; }
  .about { padding-block: 54px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .about h2 { font-size: 39px; }
  .big-copy { font-size: 20px; }
  .gallery-feature { width: calc(100% - 40px); }
  .gallery-feature .section-heading { inset: 30px 28px auto; }
  .gallery-feature .section-heading > p { margin-top: 15px; }
  .photo-card { flex-basis: 100%; aspect-ratio: 4 / 3; }
  .contact { width: calc(100% - 40px); margin-block: 0 54px; padding: 38px 28px; }
  .contact h2 { font-size: 38px; }
  .contact-grid p { font-size: 13px; }
  .organization-details { grid-template-columns: 1fr; }
  .gallery-page-heading { display: block; padding-block: 48px 28px; }
  .gallery-heading-aside { margin-top: 22px; padding: 0; }
  .gallery-heading-aside p br { display: none; }
  .full-gallery-grid { columns: 2; column-gap: 14px; }
  .full-gallery-item { margin-bottom: 14px; }
  .gallery-cta { grid-template-columns: 1fr; gap: 25px; margin-top: 50px; padding: 38px 28px; }
  .gallery-cta > div:last-child { justify-self: start; }
  .site-footer { gap: 20px; }
  .footer-name { margin-right: auto; }
  .site-footer #social-links { margin-left: 0; }
  .site-footer > small { width: 100%; font-size: 9px; }
  dialog { padding: 44px 24px 26px; }
  dialog h2 { font-size: 28px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .form-grid label { margin-block: 8px; }
  input, select, textarea { font-size: 16px; }
}

@media (max-width: 430px) {
  .site-header .brand-name { display: none; }
  .gallery-page .brand-name { display: none; }
  .gallery-feature .section-heading { inset-inline: 22px; }
  .gallery-feature .section-heading > p { display: none; }
  .photo-card { aspect-ratio: 4 / 5; }
  .full-gallery-grid { columns: 1; }
  .gallery-open::after { opacity: 1; }
  .gallery-arrow { width: 44px; height: 44px; }
}

@media (max-width: 375px) {
  .wrap { width: calc(100% - 32px); }
  .brand-name { font-size: 14px; }
  .brand-sub { font-size: 6px; }
  .site-header { gap: 8px; }
  .menu-toggle { width: 44px; padding: 0; }
  .menu-label { display: none; }
  .hero h1 { font-size: 41px; }
  .hero-actions { gap: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-logo { height: 255px; }
  .brand-panel { min-height: 0; }
  .view-switch { gap: 18px; }
  .view-switch button { font-size: 10px; }
  .section-heading h2 { font-size: 31px; }
  .event-row { grid-template-columns: 50px minmax(0, 1fr); gap: 8px 10px; }
  .gallery-feature .section-heading { inset-inline: 22px; }
  .gallery-feature .section-heading > p { display: none; }
  .photo-card { flex-basis: 100%; aspect-ratio: 4 / 5; }
  .full-gallery-grid { columns: 1; }
  .contact { width: calc(100% - 32px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
