:root {
  --blue: #0b2f56;
  --blue-2: #154d7f;
  --cyan: #25a8df;
  --red: #e20e20;
  --ink: #112238;
  --muted: #5f6f82;
  --line: #dbe2e9;
  --paper: #ffffff;
  --soft: #f3f7fa;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section-block { padding: 110px 0; }
.skip-link { position: fixed; left: 16px; top: -80px; background: #fff; padding: 12px 18px; z-index: 100; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; }
.nav-shell { width: min(1260px, calc(100% - 36px)); min-height: 102px; margin: 0 auto; display: flex; align-items: center; gap: 34px; }
.brand { flex: 0 0 auto; width: 195px; background: #fff; border-radius: 13px; box-shadow: 0 14px 35px rgba(3,21,39,.18); overflow: hidden; }
.brand img { width: 100%; }
#site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
#site-nav a { color: #fff; font-size: .9rem; font-weight: 700; letter-spacing: -.01em; position: relative; }
#site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--cyan); transition: right .2s ease; }
#site-nav a:hover::after, #site-nav a:focus-visible::after { right: 0; }
.menu-button { display: none; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; border-radius: 7px; padding: 0 24px; font-weight: 800; font-size: .92rem; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-small { min-height: 46px; padding: 0 21px; }
.button-outline { color: #fff; border: 1px solid rgba(255,255,255,.55); }
.button-outline:hover { background: #fff; color: var(--blue); }
.button-primary { color: #fff; background: var(--red); box-shadow: 0 12px 28px rgba(226,14,32,.28); }
.button-primary:hover { box-shadow: 0 16px 30px rgba(226,14,32,.38); }
.button-ghost { color: #fff; border: 1px solid rgba(255,255,255,.5); }

.hero { min-height: max(820px, 100svh); position: relative; display: flex; align-items: center; overflow: hidden; background: var(--blue); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 42%; transform: scale(1.015); }
.hero-shade { background: linear-gradient(90deg, rgba(3,21,42,.97) 0%, rgba(5,31,58,.9) 40%, rgba(7,36,65,.46) 72%, rgba(7,36,65,.22) 100%), linear-gradient(0deg, rgba(4,24,46,.82) 0%, transparent 46%); }
.hero-lines { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-lines span { position: absolute; left: 48%; width: 52vw; height: 1px; background: linear-gradient(90deg, transparent, rgba(96,211,247,.66), transparent); transform-origin: left center; filter: drop-shadow(0 0 7px rgba(37,168,223,.85)); opacity: .55; }
.hero-lines span:nth-child(1) { top: 44%; transform: rotate(-10deg); }
.hero-lines span:nth-child(2) { top: 55%; transform: rotate(6deg); opacity: .28; }
.hero-lines span:nth-child(3) { top: 63%; transform: rotate(-3deg); opacity: .2; }
.hero-content { position: relative; z-index: 2; padding: 112px 0 210px; color: #fff; }
.hero h1 { max-width: 940px; margin: 14px 0 25px; font-size: clamp(3.2rem, 6.6vw, 6.6rem); line-height: .94; letter-spacing: -.07em; font-weight: 800; }
.hero h1 span { display: block; color: rgba(255,255,255,.74); font-size: .61em; line-height: 1.1; letter-spacing: -.045em; }
.hero-intro { max-width: 720px; font-size: clamp(1.02rem, 1.7vw, 1.22rem); line-height: 1.65; color: rgba(255,255,255,.84); }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; }
.hero-president { display: flex; align-items: center; gap: 11px; margin: 30px 0 0; color: rgba(255,255,255,.85); font-size: .84rem; }
.hero-president::before { content: ""; width: 30px; height: 2px; background: var(--red); }
.hero-president span { font-weight: 800; }
.button-linkedin { gap: 11px; margin-top: 18px; min-height: 44px; padding: 0 17px; font-size: .8rem; font-weight: 600; color: #fff; background: rgba(10,102,194,.85); border: 1px solid rgba(255,255,255,.28); }
.button-linkedin:hover { background: #0a66c2; transform: translateY(-2px); }
.button-linkedin:focus-visible { outline: 3px solid #72d2f3; outline-offset: 4px; }
.linkedin-icon { display: inline-grid; place-items: center; width: 21px; height: 21px; border-radius: 2px; color: #0a66c2; background: #fff; font-family: Arial, sans-serif; font-size: 16px; font-weight: 700; line-height: 1; }
.hero-president strong { padding-left: 11px; border-left: 1px solid rgba(255,255,255,.32); color: #72d2f3; font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; }
.hero-mark { position: absolute; right: -1vw; bottom: 86px; color: rgba(255,255,255,.038); font-size: min(18vw, 230px); line-height: 1; font-weight: 800; letter-spacing: -.08em; z-index: 1; }
.hero-dock { position: absolute; left: 50%; bottom: 0; z-index: 4; display: grid; grid-template-columns: 1.1fr 1fr .78fr; padding: 0; transform: translateX(-50%); border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: 0 -12px 45px rgba(2,17,33,.2); }
.dock-card { min-height: 142px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 23px 25px; color: var(--ink); background: #fff; border-right: 1px solid var(--line); }
.dock-card:last-child { border-right: 0; }
.dock-card:hover { background: #f3f7fa; }
.dock-card small, .dock-card strong, .dock-card em { display: block; }
.dock-card small { color: var(--red); font-size: .65rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.dock-card strong { margin-top: 4px; color: var(--blue); font-size: .9rem; line-height: 1.35; }
.dock-card em { margin-top: 6px; color: var(--muted); font-size: .7rem; font-style: normal; }
.dock-icon { min-width: 59px; min-height: 68px; display: grid; place-content: center; text-align: center; color: #fff; background: var(--red); border-radius: 7px; line-height: 1; }
.dock-icon strong { margin: 0; color: #fff; font-size: 1.72rem; }
.dock-icon small { margin-top: 6px; color: #fff; }
.dock-index { align-self: start; padding-top: 5px; color: #96a6b6; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dock-arrow { color: var(--red); font-size: 1.15rem; }
.dock-contact { color: #fff; background: var(--blue); }
.dock-contact:hover { background: #123f6b; }
.dock-contact .dock-index, .dock-contact em { color: rgba(255,255,255,.58); }
.dock-contact small { color: #72d2f3; }
.dock-contact strong { color: #fff; font-size: 1.08rem; }
.eyebrow { margin: 0 0 10px; color: var(--red); font-size: .73rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow-light { color: #72d2f3; }

h2 { margin: 0 0 24px; color: var(--blue); font-size: clamp(2.25rem, 5vw, 4.25rem); line-height: 1.05; letter-spacing: -.055em; }
h3 { line-height: 1.3; }
.president { padding-top: 120px; }
.president-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(50px, 8vw, 120px); }
.president-copy { position: relative; }
.president-copy > p:not(.eyebrow):not(.signature) { color: #4f6072; max-width: 720px; font-size: 1.01rem; }
.quote-mark { position: absolute; left: -50px; top: 140px; font-family: var(--serif); color: rgba(37,168,223,.15); font-size: 130px; line-height: 1; }
.signature { margin-top: 30px; color: var(--blue); font-family: var(--serif); font-size: 1.35rem; font-style: italic; }
.signature span { color: var(--muted); font-family: var(--sans); font-size: .78rem; font-style: normal; text-transform: uppercase; letter-spacing: .08em; }
.president-portrait { margin: 0; }
.portrait-frame { position: relative; background: var(--soft); border-radius: 16px 16px 80px 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(16,43,70,.17); }
.portrait-frame::after { content: ""; position: absolute; inset: auto 0 0; height: 7px; background: linear-gradient(90deg, var(--blue) 0 38%, var(--cyan) 38% 67%, var(--red) 67%); }
.portrait-frame img { width: 100%; aspect-ratio: .83; object-fit: cover; object-position: center 20%; }
.president-portrait figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; }
.president-portrait strong { color: var(--blue); font-size: 1.08rem; }
.president-portrait span { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.honorary-president { max-width: 820px; display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 24px; margin-top: 78px; padding-top: 32px; border-top: 1px solid var(--line); }
.honorary-president img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; object-position: center 25%; filter: saturate(.82); }
.honorary-label { margin: 0 0 4px; color: var(--cyan); font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.honorary-president h3 { margin: 0 0 6px; color: var(--blue); font-size: 1.12rem; }
.honorary-president div > p:last-child { max-width: 590px; margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.55; }

.section-blue { color: #fff; background: var(--blue); position: relative; overflow: hidden; }
.section-blue::before { content: ""; position: absolute; width: 480px; height: 480px; right: -160px; top: -250px; border: 80px solid rgba(37,168,223,.1); transform: rotate(42deg); }
.heading-light h2, .heading-light p { color: #fff; }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.03rem; }
.heading-light > p:last-child { color: rgba(255,255,255,.7); }
.mission-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.mission-grid article { padding: 38px 34px 6px 0; border-right: 1px solid rgba(255,255,255,.18); }
.mission-grid article:not(:first-child) { padding-left: 34px; }
.mission-grid article:last-child { border-right: 0; }
.mission-icon { display: flex; align-items: center; gap: 11px; margin-bottom: 26px; color: #72d2f3; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.mission-icon::after { content: ""; width: 34px; height: 2px; background: rgba(114,210,243,.5); }
.mission-grid h3 { margin: 0 0 11px; font-size: 1.24rem; }
.mission-grid p { margin: 0; color: rgba(255,255,255,.67); font-size: .89rem; }

.network-story { padding-bottom: 0; background: #fff; overflow: hidden; }
.network-intro { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 80px; margin-bottom: 48px; }
.network-intro h2 { max-width: 720px; margin-bottom: 0; }
.network-intro > p { margin: 0 0 8px; color: var(--muted); font-size: 1.03rem; }
.network-visual { position: relative; width: min(1440px, calc(100% - 40px)); margin: 0 auto; overflow: hidden; border-radius: 18px 18px 0 0; box-shadow: 0 30px 80px rgba(10,39,70,.2); background: var(--blue); }
.network-visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.network-visual figcaption { position: absolute; left: 24px; bottom: 22px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.22); border-radius: 7px; color: #fff; background: rgba(4,25,49,.72); backdrop-filter: blur(8px); font-size: .78rem; font-weight: 700; }

.heading-row { max-width: none; display: flex; justify-content: space-between; align-items: end; }
.text-link { margin-bottom: 30px; color: var(--blue); font-size: .85rem; font-weight: 800; }
.text-link span { color: var(--red); margin-left: 6px; }
.news { background: #f7f9fb; }
.news-grid { display: grid; grid-template-columns: 1.3fr .85fr .85fr; gap: 20px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(15,43,71,.1); }
.news-featured img { width: 100%; height: 245px; object-fit: cover; }
.news-body { padding: 30px; }
.news-body h3 { margin: 17px 0 14px; color: var(--blue); font-size: 1.32rem; }
.news-body p { color: var(--muted); font-size: .89rem; }
.news-simple { min-height: 100%; display: flex; }
.news-simple .news-body { display: flex; flex-direction: column; align-items: start; }
.news-simple .news-link { margin-top: auto; padding-top: 28px; }
.news-accent { background: var(--blue); border-color: var(--blue); }
.news-accent h3, .news-accent .news-link { color: #fff; }
.news-accent p { color: rgba(255,255,255,.68); }
.tag { display: inline-flex; padding: 6px 9px; border-radius: 4px; background: #fee9ec; color: var(--red); font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.tag-blue { background: #e8f6fc; color: #137eae; }
.tag-dark { background: rgba(255,255,255,.14); color: #fff; }
.news-link { display: block; margin-top: 20px; color: var(--blue); font-size: .8rem; font-weight: 800; }

.federation-life { color: #fff; background: var(--blue); overflow: hidden; }
.federation-life-heading { max-width: none; display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: end; }
.federation-life-heading h2 { color: #fff; margin-bottom: 0; }
.federation-life-heading > p { margin: 0 0 8px; color: rgba(255,255,255,.7); font-size: 1.03rem; }
.life-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.gallery-item { position: relative; min-width: 0; padding: 0; border: 0; border-radius: 11px; overflow: hidden; color: #fff; background: #071f3b; cursor: zoom-in; text-align: left; }
.gallery-item-wide { grid-column: span 2; }
.gallery-item-tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, opacity .3s ease; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,18,34,.9), rgba(3,18,34,0) 62%); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.045); opacity: .88; }
.gallery-item:focus-visible { outline: 3px solid #72d2f3; outline-offset: 3px; }
.gallery-item > span { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; font-size: .93rem; font-weight: 800; line-height: 1.3; }
.gallery-item small { display: block; margin-bottom: 5px; color: #72d2f3; font-size: .63rem; letter-spacing: .12em; text-transform: uppercase; }
.gallery-more { display: none; }
.life-gallery.expanded .gallery-more { display: block; }
.gallery-actions { display: flex; justify-content: center; margin-top: 34px; }
.gallery-toggle { color: #fff; background: var(--red); border: 0; cursor: pointer; }
.gallery-dialog { width: min(1080px, calc(100% - 32px)); max-height: 92vh; padding: 0; border: 0; border-radius: 13px; overflow: hidden; color: #fff; background: #071b32; box-shadow: 0 35px 100px rgba(0,0,0,.5); }
.gallery-dialog::backdrop { background: rgba(3,13,25,.88); backdrop-filter: blur(5px); }
.gallery-dialog img { width: 100%; max-height: calc(92vh - 76px); object-fit: contain; background: #03101f; }
.gallery-dialog p { margin: 0; padding: 20px 62px 20px 22px; font-size: .88rem; font-weight: 700; }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; background: rgba(3,18,34,.72); font-size: 1.7rem; line-height: 1; cursor: pointer; }

.agenda-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 80px; }
.agenda-intro p:last-child { color: var(--muted); }
.event-card { display: grid; grid-template-columns: 110px 1fr auto; gap: 28px; align-items: center; padding: 32px; border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 12px 38px rgba(15,44,75,.08); }
.event-card time { min-height: 105px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--red); color: #fff; border-radius: 9px; line-height: 1; }
.event-card time strong { font-size: 2.8rem; }
.event-card time span { margin-top: 8px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.event-type { color: var(--cyan); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.event-card h3 { margin: 9px 0; color: var(--blue); font-size: 1.18rem; }
.event-card p { margin: 0; color: var(--muted); font-size: .85rem; }
.event-arrow { color: var(--red); font-size: 1.5rem; }

.useful-contacts { background: var(--soft); }
.contacts-heading { max-width: none; display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; }
.contacts-heading h2 { max-width: 800px; margin-bottom: 0; }
.contacts-heading > p { margin: 0 0 8px; color: var(--muted); }
.useful-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.useful-card { min-height: 228px; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid var(--line); border-top: 4px solid var(--cyan); border-radius: 10px; background: #fff; box-shadow: 0 12px 32px rgba(15,44,75,.06); }
.useful-card-primary { color: #fff; background: var(--blue); border-color: var(--blue); }
.useful-card-alert { border-top-color: var(--red); }
.contact-kicker { color: var(--red); font-size: .67rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.useful-card-primary .contact-kicker { color: #72d2f3; }
.useful-card h3 { margin: 10px 0 16px; color: var(--blue); font-size: 1.08rem; }
.useful-card-primary h3 { color: #fff; }
.useful-card p { margin: 0 0 10px; color: var(--muted); font-size: .78rem; }
.useful-card-primary p { color: rgba(255,255,255,.72); }
.useful-card > a { margin-top: 5px; color: var(--blue-2); font-size: .79rem; font-weight: 700; overflow-wrap: anywhere; }
.useful-card-primary > a { color: #fff; }
.useful-card dl { width: 100%; margin: 0; }
.useful-card dl div { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .76rem; }
.useful-card dt { color: var(--muted); }
.useful-card dd { margin: 0; color: var(--blue); font-weight: 800; text-align: right; }

.contact { padding-top: 20px; }
.contact-panel { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; padding: 68px; color: #fff; background: var(--blue); border-radius: 16px; box-shadow: 0 20px 60px rgba(8,41,75,.18); }
.contact-panel h2 { color: #fff; font-size: clamp(2.25rem, 4vw, 3.75rem); }
.contact-panel > div:first-child > p:last-child { color: rgba(255,255,255,.7); }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.contact-details a, .contact-details address { min-height: 104px; padding: 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; font-style: normal; }
.contact-details a:hover { background: rgba(255,255,255,.08); }
.contact-details address { grid-column: 1 / -1; }
.contact-details span, .contact-details strong { display: block; }
.contact-details span { color: #72d2f3; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.contact-details strong { margin-top: 7px; color: #fff; font-size: .9rem; }

footer { padding: 54px 0 24px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 260px 1fr auto; align-items: center; gap: 60px; }
.footer-grid img { width: 230px; }
.footer-grid p { max-width: 370px; color: var(--muted); font-size: .87rem; }
.footer-grid nav { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 30px; }
.footer-grid nav a { color: var(--blue); font-size: .8rem; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); color: #8190a0; font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; }

@media (max-width: 980px) {
  .nav-shell { min-height: 88px; }
  .brand { width: 165px; }
  .nav-shell > .button { display: none; }
  .menu-button { display: grid; margin-left: auto; width: 46px; height: 46px; place-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.5); border-radius: 8px; background: transparent; }
  .menu-button span:not(.sr-only) { width: 22px; height: 2px; background: #fff; }
  #site-nav { display: none; position: fixed; inset: 0; z-index: -1; padding: 130px 34px 50px; background: var(--blue); flex-direction: column; align-items: start; gap: 26px; }
  #site-nav.open { display: flex; }
  #site-nav a { font-size: 1.5rem; }
  .hero { min-height: 900px; }
  .hero-content { padding-bottom: 315px; }
  .hero-dock { grid-template-columns: 1fr 1fr; }
  .dock-card { min-height: 128px; }
  .dock-contact { grid-column: 1 / -1; min-height: 105px; }
  .president-grid, .agenda-grid, .contact-panel, .network-intro, .contacts-heading, .federation-life-heading { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr 1fr; }
  .useful-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-featured { grid-column: 1 / -1; }
  .life-gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 230px 1fr; }
  .footer-grid nav { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .section-shell { width: min(100% - 28px, 1180px); }
  .section-block { padding: 78px 0; }
  .hero { min-height: 0; display: block; padding-top: 92px; }
  .hero-image { object-position: 60% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(4,25,49,.99) 15%, rgba(7,36,65,.83) 65%, rgba(7,36,65,.42) 100%); }
  .hero-lines { display: none; }
  .hero-content { padding: 75px 0 54px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero h1 span { margin-top: 9px; font-size: .55em; }
  .hero-intro { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-mark { display: none; }
  .hero-dock { position: relative; left: auto; bottom: auto; width: 100%; grid-template-columns: 1fr; transform: none; border-radius: 0; box-shadow: none; }
  .dock-card, .dock-contact { min-height: 112px; grid-column: auto; padding: 20px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .dock-date { grid-template-columns: auto 1fr auto; }
  .president { padding-top: 82px; }
  .president-grid { gap: 48px; }
  .president-copy { order: 2; }
  .president-portrait { order: 1; }
  .honorary-president { grid-template-columns: 72px 1fr; gap: 18px; margin-top: 54px; padding-top: 25px; }
  .honorary-president img { width: 72px; height: 72px; }
  .mission-grid, .news-grid, .useful-grid { grid-template-columns: 1fr; }
  .life-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 9px; }
  .gallery-item-wide { grid-column: span 2; }
  .gallery-item-tall { grid-row: span 2; }
  .gallery-item > span { left: 14px; right: 14px; bottom: 13px; font-size: .8rem; }
  .federation-life-heading { gap: 18px; }
  .mission-grid article, .mission-grid article:not(:first-child) { padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .mission-grid article:last-child { border-bottom: 0; }
  .network-story { padding-bottom: 0; }
  .network-intro { gap: 18px; margin-bottom: 30px; }
  .network-visual { width: 100%; border-radius: 0; }
  .network-visual img { min-height: 390px; object-position: center; }
  .network-visual figcaption { left: 14px; right: 14px; bottom: 14px; text-align: center; }
  .heading-row { align-items: start; flex-direction: column; }
  .text-link { margin: -25px 0 35px; }
  .news-featured { grid-column: auto; }
  .event-card { grid-template-columns: 82px 1fr; padding: 20px; }
  .event-card time { min-height: 90px; }
  .event-arrow { display: none; }
  .contact-panel { padding: 38px 24px; gap: 32px; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-details address { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid nav { grid-column: auto; }
  .footer-bottom { gap: 12px; flex-direction: column; }
}

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

/* Accueil institutionnel : image dégagée et informations dans le flux. */
.site-header { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
.nav-shell { min-height: 96px; gap: 24px; }
.brand { width: 174px; border-radius: 0; box-shadow: none; }
#site-nav { gap: 18px; }
#site-nav a { color: var(--blue); font-size: .82rem; font-weight: 600; }
.nav-shell > .button-outline { color: var(--blue); border-color: var(--line); font-weight: 600; }
.nav-shell > .button-outline:hover { background: var(--soft); }
.hero { min-height: 560px; display: flex; padding: 0; }
.hero-image { object-position: center 42%; transform: none; }
.hero-shade { background: linear-gradient(90deg, rgba(6,28,52,.92), rgba(6,28,52,.74) 35%, rgba(6,28,52,.2) 70%, rgba(6,28,52,.06)); }
.hero-content { padding: 88px 0 94px; }
.hero-content > .eyebrow { font-size: .64rem; font-weight: 600; letter-spacing: .17em; color: #d1e9f5; }
.hero h1 { max-width: 700px; margin: 22px 0 20px; font-family: var(--sans); font-size: clamp(2.5rem, 4.3vw, 3.65rem); font-weight: 400; line-height: 1.18; letter-spacing: -.035em; }
.hero-values { margin: 0 0 25px; color: #d5e8f3; font-size: .79rem; letter-spacing: .055em; }
.hero-values span { margin: 0 10px; color: #72d2f3; }
.hero-intro { max-width: 530px; font-size: 1rem; line-height: 1.8; color: rgba(255,255,255,.84); }
.hero-actions { align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 30px; }
.hero-actions .button-primary { background: #fff; color: var(--blue); box-shadow: none; min-height: 48px; font-size: .83rem; font-weight: 600; }
.hero-actions .button-primary:hover { background: #eaf3f8; box-shadow: none; }
.hero-contact-link { color: #fff; font-size: .82rem; border-bottom: 1px solid rgba(255,255,255,.4); padding: 8px 0; }
.hero-contact-link span { margin-left: 12px; }
.welcome-details { background: #f7f9fb; padding: 0 0 38px; }
.president-social { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 27px 0; }
.social-kicker { color: var(--muted); font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; }
.hero-president { margin: 5px 0 0; color: var(--blue); }
.hero-president::before { display: none; }
.hero-president span { font-weight: 600; }
.hero-president strong { color: var(--muted); border-left-color: var(--line); font-weight: 500; }
.button-linkedin { margin: 0; background: #0a66c2; border: 0; }
.hero-dock { position: relative; left: auto; bottom: auto; transform: none; border: 1px solid var(--line); border-radius: 10px; box-shadow: none; gap: 0; }
.dock-card { min-height: 132px; padding: 23px; }
.dock-card strong { font-weight: 600; }
.dock-contact strong { font-weight: 700; }
@media (max-width: 1100px) and (min-width: 981px) {
  .nav-shell { gap: 18px; }
  .brand { width: 145px; }
  #site-nav { gap: 12px; }
  #site-nav a { font-size: .75rem; }
  .nav-shell > .button { padding: 0 13px; font-size: .78rem; }
}
@media (max-width: 980px) {
  .nav-shell { min-height: 84px; }
  .menu-button { border-color: var(--line); position: relative; z-index: 22; }
  .menu-button span:not(.sr-only) { background: var(--blue); }
  #site-nav { background: #fff; z-index: 21; }
  #site-nav a { font-size: 1.35rem; }
  .hero { min-height: 520px; }
  .hero-content { padding: 74px 0; }
  .hero-dock { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .brand { width: 150px; }
  .hero { min-height: 0; }
  .hero-image { object-position: 60% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(6,28,52,.9), rgba(6,28,52,.55)); }
  .hero-content { padding: 66px 0 70px; }
  .hero-content > .eyebrow { max-width: 285px; line-height: 1.8; }
  .hero h1 { font-size: clamp(2.05rem, 8vw, 2.85rem); }
  .hero-values { font-size: .66rem; letter-spacing: 0; }
  .hero-values span { margin: 0 5px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 16px; }
  .president-social { align-items: flex-start; flex-direction: column; gap: 18px; padding: 26px 0; }
  .hero-dock { width: calc(100% - 28px); grid-template-columns: 1fr; border-radius: 10px; }
  .dock-card { padding: 22px 18px; min-height: 114px; }
  .dock-card:last-child { border-bottom: 0; }
  .welcome-details { padding-bottom: 28px; }
}

/* Galerie régulière, sans cases vides entre les photographies. */
.life-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; gap: 14px; }
.life-gallery .gallery-item { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; }
.life-gallery .gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 980px) {
  .life-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .life-gallery { grid-auto-rows: auto; gap: 9px; }
  .life-gallery .gallery-item { aspect-ratio: 3 / 4; }
}

.life-gallery.expanded .gallery-item:last-child { grid-column: span 2; aspect-ratio: auto; }
@media (max-width: 980px) {
  .life-gallery.expanded .gallery-item:last-child { aspect-ratio: 3 / 2; }
}
