/*
Theme Name: RPFM — Réseau professionnel
Theme URI: https://www.rpfm.ca
Author: RPFM
Description: Site bilingue du Réseau des professionnels francophones du Manitoba, avec activités et conseil d’administration.
Version: 3.0.4
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rpfm-apercu
*/

:root {
  --navy: #12325b;
  --deep: #0d2748;
  --navy-soft: #1b456f;
  --gold: #cf9f34;
  --gold-light: #e5c36d;
  --green: #2f7d4f;
  --red: #bf3a2b;
  --cream: #f1e9d8;
  --paper: #fbfaf7;
  --white: #ffffff;
  --ink: #14243a;
  --muted: #627084;
  --line: #dfe5eb;
  --shadow: 0 24px 70px rgba(18, 50, 91, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; height: auto; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; width: 1px; }
.skip-link { background: var(--gold); color: var(--deep); font-weight: 700; left: 16px; padding: 12px 18px; position: fixed; top: -80px; z-index: 1000; }
.skip-link:focus { top: 16px; }
.preview-banner { align-items: center; background: var(--gold); color: var(--deep); display: flex; font-size: 12px; gap: 12px; justify-content: center; letter-spacing: .04em; min-height: 30px; padding: 4px 20px; text-transform: uppercase; }
.preview-banner strong { background: var(--deep); border-radius: 100px; color: #fff; font-size: 10px; letter-spacing: .1em; padding: 2px 9px; }

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid rgba(11, 42, 82, .1);
  display: flex;
  height: 88px;
  justify-content: space-between;
  padding: 0 clamp(22px, 4.5vw, 76px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand { align-items: center; display: flex; flex: 0 0 auto; gap: 13px; }
.brand-emblem { height: 58px; object-fit: contain; width: 41px; }
.brand-wordmark { display: grid; line-height: 1.05; max-width: 250px; }
.brand-wordmark strong { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 29px; letter-spacing: .045em; }
.brand-wordmark small { color: #a97816; font-size: 8px; font-weight: 800; letter-spacing: .14em; line-height: 1.25; margin-top: 3px; text-transform: uppercase; }
.main-nav { align-items: center; display: flex; font-size: 13px; font-weight: 700; gap: clamp(13px, 1.8vw, 28px); }
.main-nav > a { color: #34465d; padding: 31px 0 28px; position: relative; white-space: nowrap; }
.main-nav > a::after { background: var(--gold); bottom: 20px; content: ""; height: 2px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; width: 100%; }
.main-nav > a:hover::after, .main-nav > a.is-active::after { transform: scaleX(1); }
.main-nav .membership-link { align-items: center; display: flex; gap: 6px; }
.membership-link span { background: #f6e5ad; border-radius: 100px; color: #74510a; font-size: 8px; letter-spacing: .08em; padding: 2px 6px; text-transform: uppercase; }
.main-nav .nav-contact { border: 1px solid var(--navy); border-radius: 100px; color: var(--navy); padding: 9px 16px; }
.main-nav .nav-contact::after { display: none; }
.main-nav .nav-contact:hover, .main-nav .nav-contact.is-active { background: var(--navy); color: #fff; }
.menu-toggle { background: transparent; border: 0; cursor: pointer; display: none; height: 44px; padding: 10px; width: 46px; }
.menu-toggle > span:not(.screen-reader-text) { background: var(--navy); display: block; height: 2px; margin: 5px 0; width: 26px; }

.page-view { animation: pageIn .35s ease both; }
.page-view[hidden] { display: none !important; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.eyebrow { color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: .17em; margin: 0 0 18px; text-transform: uppercase; }
.eyebrow.light { color: var(--gold-light); }
.button { align-items: center; border-radius: 100px; display: inline-flex; font-size: 13px; font-weight: 800; justify-content: center; min-height: 52px; padding: 0 26px; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { box-shadow: 0 12px 30px rgba(6, 26, 52, .16); transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--deep); }
.button-navy { background: var(--navy); color: #fff; }
.inline-link { color: var(--navy); display: inline-flex; font-size: 13px; font-weight: 800; gap: 9px; margin-top: 30px; }
.inline-link span { color: var(--gold); }

.hero {
  align-items: end;
  background: var(--deep);
  color: #fff;
  display: grid;
  min-height: 660px;
  overflow: hidden;
  padding: 98px clamp(24px, 7vw, 116px) 92px;
  position: relative;
}
.hero::before, .hero::after { border: 1px solid rgba(255, 255, 255, .11); border-radius: 50%; content: ""; position: absolute; }
.hero::before { height: 590px; right: -120px; top: 20px; width: 590px; }
.hero::after { border-color: rgba(239, 169, 27, .3); height: 370px; right: 7%; top: 140px; width: 370px; }
.hero-copy { max-width: 900px; position: relative; z-index: 2; }
.hero h1, .page-hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6vw, 88px); font-weight: 700; letter-spacing: -.045em; line-height: 1.03; margin: 0; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero-lead { color: #d7e0eb; font-size: clamp(18px, 1.7vw, 22px); margin: 30px 0 0; max-width: 740px; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 28px; margin-top: 42px; }
.text-link { border-bottom: 1px solid rgba(255, 255, 255, .4); font-size: 13px; font-weight: 700; padding: 8px 0; }
.text-link span { color: var(--gold-light); margin-left: 6px; }
.hero-axes { bottom: 52px; display: grid; gap: 5px; grid-template-columns: repeat(2, auto); position: absolute; right: 6vw; z-index: 2; }
.hero-axes span { border: 1px solid rgba(255, 255, 255, .18); border-radius: 100px; color: #dbe4ef; font-size: 9px; font-weight: 800; letter-spacing: .12em; padding: 7px 11px; text-align: center; text-transform: uppercase; }

.home-event, .axes-section { margin: auto; max-width: 1370px; padding: 112px clamp(24px, 5vw, 72px); }
.section-heading { align-items: end; display: flex; gap: 42px; justify-content: space-between; margin-bottom: 52px; }
.section-heading h2, .event-summary h3, .feature-copy h2, .principles h2, .upcoming h2, .member-value h2, .contact-card h2, .contact-message h2 { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(35px, 3.7vw, 54px); font-weight: 700; letter-spacing: -.035em; line-height: 1.14; margin: 0; }
.section-heading h2 { max-width: 850px; }
.section-heading.compact { margin-bottom: 40px; }
.section-heading.compact > p { color: var(--muted); font-size: 13px; }
.date-chip { border-left: 3px solid var(--gold); color: var(--muted); font-size: 13px; padding: 7px 0 7px 16px; white-space: nowrap; }
.event-card { background: var(--cream); box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(360px, .95fr) minmax(480px, 1.15fr); min-height: 610px; }
.event-photo { background: var(--navy); min-height: 560px; overflow: hidden; position: relative; }
.event-photo.has-photo img { height: 100%; inset: 0; object-fit: contain; object-position: center; position: absolute; width: 100%; }
.photo-placeholder { align-items: center; color: #fff; display: flex; flex-direction: column; height: 100%; justify-content: center; min-height: inherit; padding: 40px; position: relative; text-align: center; }
.photo-placeholder::before, .photo-placeholder::after { border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; content: ""; position: absolute; }
.photo-placeholder::before { height: 390px; width: 390px; }
.photo-placeholder::after { border-color: rgba(239, 169, 27, .42); height: 270px; width: 270px; }
.placeholder-emblem { height: 175px; object-fit: contain; position: relative; width: 123px; z-index: 1; }
.photo-placeholder strong { font-size: 19px; margin-top: 26px; position: relative; z-index: 1; }
.photo-placeholder small { color: #c5d1df; margin-top: 4px; position: relative; z-index: 1; }
.event-summary { align-self: center; padding: clamp(46px, 6vw, 82px); }
.event-kicker { color: #9a6b08; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.event-summary h3 { font-size: clamp(31px, 3.2vw, 47px); margin-bottom: 26px; }
.event-summary > p:not(.event-kicker) { color: #46566b; font-size: 16px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tag-list span { background: #fff; border: 1px solid #e4dece; border-radius: 100px; color: var(--navy); font-size: 11px; font-weight: 700; padding: 7px 12px; }
.photo-note { color: var(--muted); font-size: 12px; margin: 22px 0 0; }

.mission-band { background: var(--navy); color: #fff; display: grid; gap: clamp(55px, 9vw, 140px); grid-template-columns: 1fr 1fr; padding: 100px clamp(24px, 7vw, 116px); }
.mission-band h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 4.4vw, 63px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; margin: 0; }
.mission-band > div:last-child { align-self: end; border-left: 1px solid rgba(255, 255, 255, .22); padding-left: clamp(28px, 4vw, 58px); }
.mission-band > div:last-child p { color: #d6e0ea; font-size: 18px; }
.axis-grid { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.axis-grid article { min-height: 300px; padding: 34px 28px; }
.axis-grid article + article { border-left: 1px solid var(--line); }
.axis-grid article > span { color: var(--gold); font-size: 12px; font-weight: 900; }
.axis-grid article:nth-child(1) { border-top: 5px solid var(--navy); }
.axis-grid article:nth-child(2) { border-top: 5px solid var(--green); }
.axis-grid article:nth-child(3) { border-top: 5px solid var(--gold); }
.axis-grid article:nth-child(4) { border-top: 5px solid var(--red); }
.axis-grid article:nth-child(2) > span, .axis-grid article:nth-child(2) h3 { color: var(--green); }
.axis-grid article:nth-child(4) > span, .axis-grid article:nth-child(4) h3 { color: var(--red); }
.axis-grid h3 { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 29px; margin: 64px 0 12px; }
.axis-grid p { color: var(--muted); font-size: 14px; }
.membership-callout { align-items: center; background: var(--gold); display: flex; gap: 60px; justify-content: space-between; margin: 0 clamp(22px, 5vw, 72px) 92px; padding: 62px clamp(32px, 6vw, 82px); }
.membership-callout h2 { color: var(--deep); font-family: Georgia, "Times New Roman", serif; font-size: clamp(37px, 4vw, 58px); letter-spacing: -.035em; line-height: 1.05; margin: 0; }
.membership-callout p:not(.eyebrow) { margin-bottom: 0; max-width: 680px; }

.page-hero { background: var(--deep); color: #fff; min-height: 440px; overflow: hidden; padding: 90px clamp(24px, 7vw, 116px) 80px; position: relative; }
.page-hero::after { border: 1px solid rgba(239, 169, 27, .25); border-radius: 50%; content: ""; height: 420px; position: absolute; right: -60px; top: 0; width: 420px; }
.page-hero h1 { font-size: clamp(45px, 5.2vw, 75px); max-width: 1000px; position: relative; z-index: 1; }
.page-hero > p:last-child { color: #d5dfeb; font-size: 19px; max-width: 740px; position: relative; z-index: 1; }
.content-wrap { margin: auto; max-width: 1370px; padding: 100px clamp(24px, 5vw, 72px); }
.two-column { display: grid; gap: clamp(48px, 9vw, 130px); grid-template-columns: .9fr 1.1fr; }
.feature-copy > div:last-child { border-left: 1px solid var(--line); padding-left: clamp(28px, 4vw, 60px); }
.feature-copy > div:last-child p { color: #46566b; font-size: 18px; }
.purpose-grid { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; margin-top: 90px; }
.purpose-grid article { background: var(--cream); min-height: 300px; padding: 42px; }
.purpose-grid article > span, .upcoming-grid article > span { color: #996b0d; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.purpose-grid h3 { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 31px; letter-spacing: -.025em; line-height: 1.15; margin: 45px 0 15px; }
.purpose-grid p { color: var(--muted); }
.principles { margin-top: 110px; }
.principle-grid { border: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.principle-grid article { min-height: 210px; padding: 30px; }
.principle-grid article:nth-child(n+4) { border-top: 1px solid var(--line); }
.principle-grid article:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
.principle-grid h3 { color: var(--navy); font-size: 20px; margin: 24px 0 8px; }
.principle-grid p { color: var(--muted); font-size: 14px; }

.activity-meta { align-items: center; border-bottom: 1px solid var(--line); color: var(--muted); display: flex; flex-wrap: wrap; font-size: 12px; gap: 24px; margin-bottom: 50px; padding-bottom: 18px; text-transform: uppercase; }
.activity-meta span:first-child { color: #986708; font-weight: 800; }
.activity-layout { align-items: center; display: grid; gap: clamp(45px, 7vw, 95px); grid-template-columns: .9fr 1.1fr; }
.activity-photo { min-height: 520px; }
.activity-layout h2 { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 4vw, 55px); letter-spacing: -.035em; line-height: 1.1; margin: 0 0 26px; }
.activity-layout p { color: #46566b; font-size: 17px; }
.lessons-grid { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 90px; }
.lessons-grid article { min-height: 260px; padding: 35px 28px; }
.lessons-grid article + article { border-left: 1px solid var(--line); }
.lessons-grid span { color: var(--gold); font-size: 12px; font-weight: 900; }
.lessons-grid h3 { color: var(--navy); font-size: 23px; margin: 45px 0 12px; }
.lessons-grid p { color: var(--muted); font-size: 14px; }
blockquote { border-left: 4px solid var(--gold); color: var(--green); font-family: Georgia, "Times New Roman", serif; font-size: clamp(22px, 2.5vw, 33px); font-style: italic; font-weight: 700; line-height: 1.42; margin: 60px 0 0; max-width: 1100px; padding-left: 28px; }
.upcoming { margin-top: 115px; }
.upcoming-grid { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
.upcoming-grid article { background: var(--cream); min-height: 260px; padding: 40px; }
.upcoming-grid h3 { color: var(--navy); font-size: 29px; letter-spacing: -.03em; line-height: 1.15; margin: 43px 0 14px; }
.upcoming-grid p { color: var(--muted); }

.board-wrap { max-width: 1290px; }
.status-note { background: #fff4cf; border-left: 4px solid var(--gold); color: #5a4a28; margin: 0 0 45px; padding: 19px 23px; }
.board-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.leader-card { align-items: start; background: #fff; border: 1px solid var(--line); display: grid; gap: 24px; grid-template-columns: 68px 1fr; min-height: 235px; padding: 32px; transition: box-shadow .2s ease, transform .2s ease; }
.leader-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.initials { align-items: center; background: var(--navy); border-radius: 50%; color: var(--gold-light); display: flex; font-size: 17px; font-weight: 900; height: 68px; justify-content: center; letter-spacing: .03em; width: 68px; }
.leader-card span { color: #95660a; display: block; font-size: 10px; font-weight: 800; letter-spacing: .11em; line-height: 1.45; text-transform: uppercase; }
.leader-card h2 { color: var(--navy); font-size: 25px; letter-spacing: -.025em; margin: 12px 0 10px; }
.leader-card p { color: var(--muted); font-size: 14px; margin: 0; }
.leader-card.vacant { border-style: dashed; }
.leader-card.vacant .initials { background: #e7ebf0; color: var(--muted); }

.membership-hero { min-height: 520px; }
.coming-badge { background: var(--gold); border-radius: 100px; color: var(--deep); display: inline-block; font-size: 10px; font-weight: 900; letter-spacing: .12em; margin-bottom: 20px; padding: 7px 12px; position: relative; text-transform: uppercase; z-index: 1; }
.member-value { display: grid; gap: clamp(50px, 8vw, 120px); grid-template-columns: .8fr 1.2fr; }
.benefit-list { border-top: 1px solid var(--line); }
.benefit-list article { border-bottom: 1px solid var(--line); display: grid; gap: 24px; grid-template-columns: 38px 1fr; padding: 24px 0; }
.benefit-list article > span { color: var(--gold); font-size: 12px; font-weight: 900; }
.benefit-list h3 { color: var(--navy); font-size: 21px; margin: 0 0 6px; }
.benefit-list p { color: var(--muted); margin: 0; }
.coming-panel { align-items: center; background: var(--navy); color: #fff; display: flex; gap: 60px; justify-content: space-between; margin-top: 95px; padding: 60px clamp(32px, 6vw, 78px); }
.coming-panel h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 3.6vw, 52px); letter-spacing: -.035em; line-height: 1.1; margin: 0; }
.coming-panel p:not(.eyebrow) { color: #d4deea; max-width: 770px; }

.contact-wrap { display: grid; gap: 25px; grid-template-columns: 1fr 1fr; }
.contact-card, .contact-message { border: 1px solid var(--line); min-height: 480px; padding: clamp(36px, 5vw, 65px); }
.contact-card { background: var(--cream); }
.contact-card h2, .contact-message h2 { font-size: clamp(34px, 3.6vw, 50px); }
.contact-card dl { border-top: 1px solid #d8d0c1; margin-top: 45px; }
.contact-card dl > div { border-bottom: 1px solid #d8d0c1; display: grid; gap: 20px; grid-template-columns: 100px 1fr; padding: 18px 0; }
.contact-card dt { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.contact-card dd { color: var(--navy); font-weight: 700; margin: 0; }
.contact-message p:not(.eyebrow) { color: var(--muted); margin-bottom: 38px; }
.legal-copy { max-width: 980px; }
.legal-copy h2 { color: var(--navy); font-size: 30px; margin: 45px 0 10px; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p { color: #46566b; font-size: 17px; }
.legal-copy a { color: var(--navy); font-weight: 800; text-decoration: underline; }

.site-footer { align-items: center; background: #fff; border-top: 1px solid var(--line); display: grid; gap: 38px; grid-template-columns: 1.15fr 1fr auto; padding: 46px clamp(24px, 5vw, 76px); }
.footer-signature { align-items: center; display: flex; gap: 12px; }
.footer-signature img { height: 58px; object-fit: contain; width: 41px; }
.footer-signature strong { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 34px; letter-spacing: .04em; }
.footer-brand p { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; margin: 12px 0 0; text-transform: uppercase; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a, .footer-contact { color: var(--muted); font-size: 12px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--navy); }
.footer-contact { display: grid; gap: 5px; justify-items: end; }
.footer-contact a { color: var(--navy); font-weight: 800; }
.noscript-note { background: #fff1c6; bottom: 0; left: 0; margin: 0; padding: 15px; position: fixed; right: 0; text-align: center; z-index: 100; }

@media (max-width: 1120px) {
  .main-nav { gap: 15px; }
  .main-nav > a { font-size: 11px; }
  .membership-link span { display: none; }
  .brand-emblem { height: 52px; width: 37px; }
  .brand-wordmark strong { font-size: 26px; }
}

@media (max-width: 960px) {
  body.admin-bar .site-header { top: 46px; }
  .site-header { height: 78px; }
  .menu-toggle { display: block; }
  .main-nav { align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; flex-direction: column; gap: 0; left: 0; padding: 18px 24px 28px; position: absolute; right: 0; top: 77px; }
  .main-nav.is-open { display: flex; }
  .main-nav > a, .main-nav .nav-contact { border-bottom: 1px solid var(--line); border-radius: 0; font-size: 14px; padding: 13px 4px; }
  .main-nav > a::after { bottom: 4px; width: 40px; }
  .main-nav .nav-contact:hover, .main-nav .nav-contact.is-active { background: transparent; color: var(--navy); }
  .hero-axes { display: none; }
  .event-card, .mission-band, .two-column, .activity-layout, .member-value { grid-template-columns: 1fr; }
  .event-card { min-height: 0; }
  .event-photo { min-height: 520px; }
  .mission-band { gap: 45px; }
  .mission-band > div:last-child, .feature-copy > div:last-child { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); padding: 32px 0 0; }
  .feature-copy > div:last-child { border-color: var(--line); }
  .axis-grid { grid-template-columns: repeat(2, 1fr); }
  .axis-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .axis-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .principle-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .principle-grid article:not(:nth-child(3n+1)) { border-left: 0; }
  .principle-grid article:nth-child(even) { border-left: 1px solid var(--line); }
  .activity-layout { gap: 45px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; justify-items: start; }
}

@media (max-width: 700px) {
  .preview-banner { flex-direction: column; gap: 0; line-height: 1.3; padding: 5px 12px; }
  .brand-emblem { height: 48px; width: 34px; }
  .brand-wordmark strong { font-size: 24px; }
  .brand-wordmark small { display: none; }
  .hero { min-height: 610px; padding-bottom: 70px; padding-top: 72px; }
  .hero h1 { font-size: 46px; }
  .hero-lead { font-size: 17px; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .date-chip { white-space: normal; }
  .home-event, .axes-section, .content-wrap { padding: 76px 22px; }
  .event-photo, .activity-photo { min-height: 410px; }
  .event-summary { padding: 38px 26px; }
  .photo-placeholder::before { height: 310px; width: 310px; }
  .photo-placeholder::after { height: 210px; width: 210px; }
  .placeholder-emblem { height: 145px; width: 102px; }
  .mission-band, .page-hero { padding-left: 22px; padding-right: 22px; }
  .axis-grid, .purpose-grid, .principle-grid, .lessons-grid, .upcoming-grid, .board-grid, .contact-wrap { grid-template-columns: 1fr; }
  .axis-grid article + article, .axis-grid article:nth-child(3), .principle-grid article:nth-child(n), .principle-grid article:nth-child(even), .lessons-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .axis-grid article:first-child, .principle-grid article:first-child, .lessons-grid article:first-child { border-top: 0; }
  .membership-callout, .coming-panel { align-items: start; flex-direction: column; margin-left: 16px; margin-right: 16px; padding: 44px 26px; }
  .page-hero { min-height: 390px; padding-bottom: 65px; padding-top: 72px; }
  .page-hero h1 { font-size: 43px; }
  .purpose-grid, .principles, .upcoming { margin-top: 75px; }
  .activity-meta { align-items: start; flex-direction: column; gap: 6px; }
  .lessons-grid { margin-top: 65px; }
  .leader-card { gap: 18px; grid-template-columns: 56px 1fr; padding: 25px 22px; }
  .initials { font-size: 14px; height: 56px; width: 56px; }
  .contact-card, .contact-message { min-height: 0; padding: 38px 26px; }
  .site-footer { grid-template-columns: 1fr; padding: 40px 22px; }
  .footer-contact { grid-column: auto; }
}

@media (max-width: 420px) {
  .brand-emblem { height: 44px; width: 31px; }
  .hero h1 { font-size: 40px; }
  .hero-actions { align-items: start; flex-direction: column; }
  .page-hero h1 { font-size: 38px; }
  .leader-card { grid-template-columns: 1fr; }
  .contact-card dl > div { grid-template-columns: 1fr; gap: 5px; }
}

/* Board portraits and language navigation. */
.leader-card { grid-template-columns: 144px minmax(0, 1fr); gap: 24px; padding: 28px; }
.leader-card.without-photo { grid-template-columns: minmax(0, 1fr); }
.leader-portrait { width: 144px; height: 176px; object-fit: cover; object-position: center 25%; border-radius: 10px; background: #edf0f3; }
.leader-card h2 { overflow-wrap: anywhere; }
.main-nav .language-link { border-left: 1px solid var(--line); padding: 10px 0 10px 14px; color: var(--navy); }
.main-nav .language-link::after { display: none; }
.trp-floating-switcher { display: none !important; }
@media (max-width: 700px) {
  .leader-card { grid-template-columns: 128px minmax(0, 1fr); padding: 24px; gap: 20px; }
  .leader-portrait { width: 128px; height: 160px; }
}
@media (max-width: 420px) {
  .leader-card { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-view { animation: none; }
  .leader-card, .button { transition: none; }
}
