@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');

:root {
    --forest-950: #073d39;
    --forest-900: #07544e;
    --forest-800: #0a6a61;
    --forest-700: #0d786d;
    --gold-500: #efad22;
    --gold-400: #f9bf40;
    --ink: #122b2a;
    --body: #58706e;
    --canvas: #fbfaf6;
    --canvas-warm: #f4f0e7;
    --line: #dfdfd4;
    --white: #ffffff;
    --shadow-sm: 0 10px 30px rgba(10, 55, 51, .08);
    --shadow-lg: 0 26px 70px rgba(8, 54, 50, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 320px;
    background: var(--canvas);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::selection { background: var(--gold-400); color: var(--forest-950); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

/* Header */
#navbar-root {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    background: var(--white);
    box-shadow: 0 1px 0 rgba(8, 69, 63, .12);
}

.nav-shell,
.content-shell {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.utility-bar {
    color: rgba(255, 255, 255, .8);
    background: var(--forest-950);
    font-size: .71rem;
    letter-spacing: .025em;
}

.utility-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.utility-inner p { margin: 0; }
.utility-contact { display: flex; align-items: center; gap: 1.35rem; }
.utility-contact a, .utility-contact span { display: inline-flex; align-items: center; gap: .42rem; }
.utility-contact i { color: var(--gold-400); font-size: .68rem; }

.main-navigation { background: rgba(255, 255, 255, .98); }

.nav {
    position: relative;
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.site-brand { display: inline-flex; align-items: center; gap: .7rem; flex: 0 0 auto; }

.brand-logo {
    width: 49px;
    height: 49px;
    padding: 2px;
    object-fit: contain;
    border-radius: 50%;
    background: #0e9aad;
    box-shadow: 0 5px 13px rgba(6, 76, 71, .17);
}

.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { color: var(--forest-900); font-size: 1.15rem; font-weight: 800; letter-spacing: -.055em; }
.brand-copy small { margin-top: .35rem; color: #7b8b88; font-size: .57rem; font-weight: 700; letter-spacing: .18em; }

.nav-links { display: flex; align-items: center; justify-content: center; gap: .15rem; flex: 1; }

.nav-link {
    position: relative;
    padding: .75rem .68rem;
    color: #46635f;
    font-size: .83rem;
    font-weight: 700;
    transition: color .2s ease;
}

.nav-link::after {
    position: absolute;
    right: .68rem;
    bottom: .45rem;
    left: .68rem;
    height: 2px;
    background: var(--gold-500);
    content: '';
    opacity: 0;
    transform: scaleX(.4);
    transition: transform .2s ease, opacity .2s ease;
}

.nav-link:hover, .nav-link.is-active { color: var(--forest-900); }
.nav-link:hover::after, .nav-link.is-active::after { opacity: 1; transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; justify-content: end; gap: .55rem; flex: 0 0 auto; }

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    color: var(--forest-900);
    background: #edf4f1;
    border: 1px solid #d9e8e2;
    border-radius: 0;
}

/* Shared UI */
#app-root { min-height: calc(100vh - 350px); padding-top: 110px !important; overflow: hidden; }

.btn, .btn-primary, .btn-accent, .btn-secondary, .btn-plain, .btn-light, .btn-ghost-light, .btn-plain-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .58rem;
    min-height: 44px;
    padding: .72rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 0;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .01em;
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover, .btn-primary:hover, .btn-accent:hover, .btn-secondary:hover, .btn-plain:hover, .btn-light:hover, .btn-ghost-light:hover, .btn-plain-light:hover { transform: translateY(-2px); }
.btn:focus-visible, .btn-primary:focus-visible, .btn-accent:focus-visible, .btn-secondary:focus-visible, .btn-plain:focus-visible, .btn-light:focus-visible, .btn-ghost-light:focus-visible, .btn-plain-light:focus-visible { outline: 3px solid rgba(239, 173, 34, .5); outline-offset: 3px; }
.btn:disabled, .btn-primary:disabled, .btn-accent:disabled { cursor: not-allowed; opacity: .62; transform: none; }

.btn-primary { color: #fff; background: var(--forest-800); box-shadow: 0 7px 17px rgba(10, 106, 97, .2); }
.btn-primary:hover { color: #fff; background: var(--forest-950); box-shadow: 0 12px 24px rgba(10, 75, 69, .26); }
.btn-accent { color: #1e2f2b; background: var(--gold-500); box-shadow: 0 7px 17px rgba(223, 159, 29, .22); }
.btn-accent:hover { color: #1e2f2b; background: #ffc64c; box-shadow: 0 12px 24px rgba(223, 159, 29, .3); }
.btn-secondary { color: var(--forest-900); background: #e6f0ec; }
.btn-secondary:hover { color: var(--forest-950); background: #d3e6df; }
.btn-plain { color: var(--forest-900); background: transparent; border-color: #cfdfd8; }
.btn-plain:hover { color: var(--forest-950); border-color: var(--forest-800); background: #f1f7f4; }
.btn-ghost-light { color: #fff; background: transparent; border-color: rgba(255,255,255,.48); }
.btn-ghost-light:hover { color: var(--forest-950); background: #fff; border-color: #fff; }
.btn-plain-light { color: #fff; background: transparent; border-color: rgba(255,255,255,.45); }
.btn-plain-light:hover { color: #fff; background: rgba(255,255,255,.13); }
.btn-light { color: var(--forest-900); background: #fff; }

.card {
    background: var(--white);
    border: 1px solid #e4e8e2;
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.card:hover { border-color: #cfddd6; box-shadow: 0 20px 42px rgba(11, 75, 68, .1); }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1rem;
    color: var(--forest-800);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .17em;
    line-height: 1.2;
    text-transform: uppercase;
}

.section-eyebrow::before { width: 25px; height: 2px; background: var(--gold-500); content: ''; }
.section-eyebrow-light { color: #e5f0ea; }
.section-eyebrow-light::before { background: var(--gold-400); }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.2rem; }
.section-heading h2, .editorial-copy h2, .calendar-copy h2, .join-panel h2 { margin: 0; color: var(--ink); font-family: 'Libre Baskerville', Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.65rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.22; }
.section-heading .section-eyebrow { margin-bottom: .8rem; }
.section-link, .text-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--forest-800); font-size: .82rem; font-weight: 800; white-space: nowrap; }
.section-link i, .text-link i { font-size: .68rem; transition: transform .2s ease; }
.section-link:hover i, .text-link:hover i { transform: translateX(4px); }

/* Hero */
.home-hero { position: relative; overflow: hidden; color: #fff; background: var(--forest-950); }
.home-hero::before { position: absolute; top: -290px; right: -170px; width: 630px; height: 630px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.018); content: ''; pointer-events: none; }
.hero-track { position: relative; z-index: 1; display: flex; transition: transform .72s cubic-bezier(.22, .77, .25, 1); }
.hero-slide { width: 100%; min-width: 100%; min-height: 510px; display: grid; grid-template-columns: minmax(0, .96fr) minmax(390px, .88fr); align-items: center; gap: clamp(3rem, 8vw, 7rem); padding: 4.7rem max(24px, calc((100vw - 1200px) / 2)); }
.hero-copy { position: relative; z-index: 1; padding: 1.1rem 0 2rem; }
.hero-kicker { display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 1.25rem; color: var(--gold-400); font-size: .71rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-kicker i { font-size: .43rem; }
.hero-copy h1 { max-width: 690px; margin: 0; color: #fff; font-family: 'Libre Baskerville', Georgia, serif; font-size: clamp(2.32rem, 4.9vw, 4.3rem); font-weight: 700; letter-spacing: -.066em; line-height: 1.13; }
.hero-copy p { max-width: 575px; margin: 1.4rem 0 0; color: #d4e5df; font-size: clamp(.97rem, 1.4vw, 1.1rem); line-height: 1.76; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-signature { display: flex; align-items: center; gap: .75rem; margin-top: 2.6rem; color: rgba(224, 239, 232, .7); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-signature-line { width: 40px; height: 1px; background: var(--gold-500); }
.hero-visual { position: relative; align-self: stretch; display: flex; align-items: center; padding: 1.3rem 0 3.2rem; }
.hero-image-frame { position: relative; width: 100%; height: min(390px, 35vw); min-height: 350px; overflow: hidden; border: 8px solid rgba(255,255,255,.1); border-radius: 2px; box-shadow: 28px 28px 0 rgba(239,173,34,.9); }
.hero-image-frame::after { position: absolute; inset: 0; background: linear-gradient(140deg, rgba(7, 61, 57, .12), rgba(7, 61, 57, .34)); content: ''; }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual-note { position: absolute; bottom: 0; left: -3.25rem; display: flex; align-items: center; gap: .85rem; padding: .95rem 1.1rem; color: var(--forest-950); background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.16); font-size: .74rem; line-height: 1.35; }
.hero-visual-note i { color: var(--gold-500); font-size: 1.45rem; }
.hero-visual-note strong { color: var(--forest-900); font-size: .82rem; }
.hero-navigation { position: absolute; z-index: 2; right: 0; bottom: 1.45rem; left: 0; width: min(1200px, calc(100% - 48px)); display: flex; align-items: center; justify-content: space-between; margin: 0 auto; }
.hero-dots { display: flex; align-items: center; gap: .42rem; }
.hero-dot { width: 7px; height: 7px; padding: 0; background: rgba(255,255,255,.45); border: 0; border-radius: 999px; transition: width .25s ease, background .25s ease; }
.hero-dot.is-active { width: 27px; background: var(--gold-400); }
.hero-controls { display: flex; gap: .45rem; }
.hero-control { width: 38px; height: 38px; padding: 0; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.24); transition: color .2s ease, background .2s ease; }
.hero-control:hover { color: var(--forest-950); background: var(--gold-400); border-color: var(--gold-400); }

/* Homepage composition */
.impact-section { position: relative; z-index: 3; margin-top: -35px; }
.impact-panel { display: grid; grid-template-columns: .75fr 1.45fr; overflow: hidden; color: #fff; background: var(--forest-800); box-shadow: var(--shadow-lg); }
.impact-intro { padding: 1.45rem 2rem; background: var(--forest-950); }
.impact-intro .section-eyebrow { margin: 0 0 .7rem; }
.impact-intro p { max-width: 295px; margin: 0; color: #c7ded6; font-size: .81rem; line-height: 1.55; }
.impact-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.impact-stat { display: flex; align-items: center; gap: .85rem; min-height: 115px; padding: 1.2rem 1.45rem; border-right: 1px solid rgba(255,255,255,.12); }
.impact-stat:last-child { border-right: 0; }
.impact-icon { width: 39px; height: 39px; display: grid; flex: 0 0 auto; place-items: center; color: var(--forest-950); background: var(--gold-400); border-radius: 50%; font-size: .92rem; }
.impact-stat strong { display: block; color: #fff; font-family: 'Libre Baskerville', Georgia, serif; font-size: 1.75rem; line-height: 1; }
.impact-stat span { display: block; margin-top: .4rem; color: #cce1d9; font-size: .67rem; font-weight: 700; letter-spacing: .09em; line-height: 1.2; text-transform: uppercase; }

.editorial-section { padding: 6.7rem 0 5.8rem; }
.editorial-grid { display: grid; grid-template-columns: minmax(320px, .94fr) minmax(360px, .94fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.editorial-media { position: relative; }
.editorial-media::before { position: absolute; top: -17px; left: -17px; width: 76%; height: 68%; border-top: 4px solid var(--gold-500); border-left: 4px solid var(--gold-500); content: ''; }
.editorial-media img { position: relative; width: 100%; height: 440px; object-fit: cover; box-shadow: var(--shadow-lg); }
.editorial-stamp { position: absolute; right: -15px; bottom: 24px; display: grid; width: 180px; gap: .3rem; padding: 1rem 1.1rem; color: #fff; background: var(--forest-950); box-shadow: 0 12px 25px rgba(6, 51, 47, .2); }
.editorial-stamp span { color: var(--gold-400); font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.editorial-stamp strong { font-family: 'Libre Baskerville', Georgia, serif; font-size: .78rem; line-height: 1.45; }
.editorial-copy h2 em { color: var(--forest-800); font-style: normal; }
.editorial-copy p { margin: 1.05rem 0 0; color: var(--body); font-size: .93rem; line-height: 1.75; }
.editorial-copy .lead { color: #31514d; font-size: 1.08rem; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1.75rem 0 1.95rem; }
.value-item { display: flex; align-items: flex-start; gap: .7rem; padding: .9rem .75rem; border-top: 1px solid var(--line); }
.value-item i { margin-top: .1rem; color: var(--gold-500); font-size: 1rem; }
.value-item strong { display: block; color: var(--forest-900); font-size: .78rem; }
.value-item span { display: block; margin-top: .28rem; color: #708583; font-size: .7rem; line-height: 1.35; }

.focus-section { padding: 5.4rem 0; background: #f0efe8; }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.focus-card { overflow: hidden; background: #fff; border: 1px solid #e0e3dc; transition: transform .25s ease, box-shadow .25s ease; }
.focus-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.focus-image { position: relative; display: block; height: 205px; overflow: hidden; background: #dbe5e0; }
.focus-image::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(4, 53, 49, .56)); content: ''; }
.focus-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.focus-card:hover .focus-image img { transform: scale(1.06); }
.focus-image span { position: absolute; z-index: 1; bottom: .9rem; left: 1rem; color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.focus-card-body { padding: 1.35rem 1.25rem 1.25rem; }
.focus-card h3 { margin: 0; color: var(--ink); font-family: 'Libre Baskerville', Georgia, serif; font-size: 1.01rem; letter-spacing: -.035em; line-height: 1.4; }
.focus-card p { min-height: 68px; margin: .72rem 0 1.15rem; color: var(--body); font-size: .82rem; line-height: 1.62; }

.calendar-section { padding: 5.7rem 0; color: #fff; background: var(--forest-950); }
.calendar-grid { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(2.7rem, 7vw, 7.4rem); }
.calendar-copy h2 { color: #fff; }
.calendar-copy p { max-width: 475px; margin: 1.25rem 0 1.85rem; color: #c8ddd5; font-size: .94rem; line-height: 1.75; }
.events-panel { overflow: hidden; color: var(--ink); background: #fff; box-shadow: 18px 18px 0 rgba(239,173,34,.85); }
.events-panel-head { display: flex; align-items: center; justify-content: space-between; padding: .95rem 1.25rem; color: #fff; background: var(--forest-800); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.events-panel-head i { color: var(--gold-400); font-size: 1rem; }
.event-row { display: grid; grid-template-columns: 49px 1fr auto; align-items: center; gap: .95rem; min-height: 88px; padding: .8rem 1.25rem; border-bottom: 1px solid #e5e9e4; transition: background .2s ease; }
.event-row:last-child { border-bottom: 0; }
.event-row:hover { background: #f7faf7; }
.event-date { display: grid; place-items: center; min-height: 50px; background: #eff5f1; }
.event-date strong { color: var(--forest-900); font-family: 'Libre Baskerville', Georgia, serif; font-size: 1.15rem; line-height: 1.1; }
.event-date small { color: #73908a; font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.event-details { min-width: 0; display: grid; gap: .28rem; }
.event-details strong { overflow: hidden; color: var(--ink); font-size: .83rem; text-overflow: ellipsis; white-space: nowrap; }
.event-details small { overflow: hidden; color: #758783; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.event-details small i { margin-right: .25rem; color: var(--gold-500); }
.event-row > i { color: var(--forest-700); font-size: .7rem; }
.event-empty { padding: 2rem 1.4rem; text-align: center; }
.event-empty > i { color: var(--gold-500); font-size: 1.6rem; }
.event-empty p { max-width: 300px; margin: .8rem auto 1rem; color: var(--body); font-size: .84rem; line-height: 1.55; }

.quote-section { padding: 5.2rem 0; background: #fff; }
.quote-layout { display: grid; grid-template-columns: 90px minmax(0, 1fr) 230px; align-items: center; gap: 1rem; }
.quote-mark { color: var(--gold-500); font-family: Georgia, serif; font-size: 7.7rem; line-height: .45; }
.quote-layout blockquote { max-width: 750px; margin: 0; color: var(--forest-950); font-family: 'Libre Baskerville', Georgia, serif; font-size: clamp(1.1rem, 2.1vw, 1.55rem); letter-spacing: -.04em; line-height: 1.7; }
.quote-author { display: flex; align-items: center; gap: .7rem; padding-left: 1rem; border-left: 1px solid var(--line); }
.quote-author > span { width: 31px; height: 31px; background: var(--forest-800); border-radius: 50%; }
.quote-author strong, .quote-author small { display: block; }
.quote-author strong { color: var(--forest-900); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.quote-author small { margin-top: .28rem; color: #78908c; font-size: .68rem; line-height: 1.3; }

.join-section { padding: 0 0 5.6rem; background: #fff; }
.join-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 5vw, 3.2rem); color: #fff; background: var(--forest-800); box-shadow: 13px 13px 0 var(--gold-500); }
.join-panel h2 { max-width: 610px; color: #fff; font-size: clamp(1.35rem, 2.4vw, 2.1rem); }
.join-panel .section-eyebrow { margin-bottom: .75rem; }
.join-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; }

/* Forms, account screens and content pages */
.form-input {
    width: 100%;
    min-height: 48px;
    padding: .78rem .9rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid #d5dfda;
    border-radius: 0;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-input:hover { border-color: #aec7bd; }
.form-input:focus { background: #fff; border-color: var(--forest-800); box-shadow: 0 0 0 4px rgba(13, 120, 109, .1); }
.form-label { display: block; margin: 0 0 .5rem; color: #36534f; font-size: .78rem; font-weight: 800; }
.form-check { border-radius: 0; }
.form-check:hover { background: #edf6f1; }
.form-check input[type="checkbox"] { accent-color: var(--forest-800); }

.toast { min-width: min(350px, calc(100vw - 32px)); color: var(--ink); background: #fff; border-left: 5px solid var(--forest-800); border-radius: 0; box-shadow: var(--shadow-lg); }
.toast-success { border-left-color: var(--forest-700); }.toast-error { border-left-color: #bd4d45; }

#modal-root > div { border-radius: 2px !important; }

/* Footer */
#footer-root { color: #d7e7e1 !important; background: var(--forest-950) !important; overflow-x: hidden; }
.footer-inner { width: min(1200px, calc(100% - 48px)); display: grid; grid-template-columns: 1.65fr repeat(3, 1fr); gap: 2.6rem; margin: 0 auto; padding: 4rem 0 1.5rem; box-sizing: border-box; }
.footer-col { min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.footer-inner .site-brand .brand-copy strong { color: #fff; }.footer-inner .site-brand .brand-copy small { color: #a8c9bd; }
.footer-col > p { margin: .55rem 0 0; color: #b9d2c9; font-size: .79rem; line-height: 1.65; }
.footer-title { margin-bottom: .95rem; color: var(--gold-400); font-size: .67rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: .58rem; }
.footer-links a { color: #bfd5cd; font-size: .78rem; transition: color .2s ease, transform .2s ease; }
.footer-links a:hover { color: var(--gold-400); transform: translateX(3px); }
.footer-social-btn { width: 36px; height: 36px; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.75); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); transition: all .2s ease; text-decoration: none; }
.footer-social-btn:hover { color: #fff; background: var(--forest-700); border-color: var(--gold-400); transform: translateY(-2px); }
.footer-contact-details { gap: .75rem; }
.footer-contact-link { display: flex; align-items: flex-start; gap: .6rem; color: #bfd5cd; font-size: .78rem; text-decoration: none; word-break: break-all; overflow-wrap: anywhere; }
.footer-contact-link:hover { color: #fff; }
.footer-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.45rem; border-top: 1px solid rgba(255,255,255,.11); flex-wrap: wrap; }
.footer-bottom p { margin: 0; color: #91afa5; font-size: .69rem; }
.footer-bottom-links { display: flex; align-items: center; gap: .75rem; }
.footer-bottom-links a { color: #91afa5; font-size: .69rem; transition: color .2s ease; }
.footer-bottom-links a:hover { color: var(--gold-400); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.animate-fade-in { animation: fadeIn .55s ease-out forwards; }.animate-slide-in { animation: slideInRight .45s ease-out forwards; }

@media (max-width: 1040px) {
    .nav { gap: 1rem; }.nav-link { padding-right: .43rem; padding-left: .43rem; }
    .hero-slide { gap: 3.3rem; }.hero-visual-note { left: -1rem; }
    .quote-layout { grid-template-columns: 65px minmax(0, 1fr); }.quote-author { grid-column: 2; padding: 1rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
    .footer-inner { grid-template-columns: 1.5fr repeat(2, 1fr); }.footer-col-brand { grid-row: span 2; }
}

@media (max-width: 820px) {
    #app-root { padding-top: 76px !important; }.utility-bar { display: none; }
    .nav-shell, .content-shell { width: min(100% - 32px, 1200px); }.nav { min-height: 76px; justify-content: space-between; }
    .nav-links { position: absolute; top: 100%; right: -16px; left: -16px; display: none; align-items: stretch; padding: .8rem 1rem 1rem; background: #fff; border-top: 1px solid #e0e9e5; box-shadow: 0 14px 22px rgba(11,72,66,.1); }
    .nav-links.is-open { display: grid; }.nav-link { padding: .82rem .65rem; }.nav-link::after { right: auto; bottom: .42rem; left: .65rem; width: 26px; }
    .nav-actions > .btn-plain, .nav-actions > .btn-secondary { display: none; }.nav-actions .btn-accent { min-height: 38px; padding: .62rem .7rem; font-size: .7rem; }.mobile-menu-btn { display: inline-grid; place-items: center; }
    .hero-slide { min-height: auto; grid-template-columns: 1fr; gap: 1.7rem; padding: 3.7rem 16px 5.3rem; }.hero-copy { padding: 0; }.hero-copy h1 { max-width: 650px; }.hero-visual { max-width: 630px; padding: 0 1rem 2.5rem; }.hero-image-frame { height: 330px; min-height: 0; box-shadow: 17px 17px 0 rgba(239,173,34,.9); }.hero-navigation { bottom: 1.25rem; width: calc(100% - 32px); }
    .impact-section { margin-top: 0; }.impact-panel { grid-template-columns: 1fr; }.impact-intro { padding: 1.3rem 1.45rem; }.impact-intro p { max-width: none; }.impact-stat { min-height: 95px; padding: 1rem; }
    .editorial-section { padding: 4.7rem 0; }.editorial-grid, .calendar-grid { grid-template-columns: 1fr; gap: 3.1rem; }.editorial-media { max-width: 620px; }.editorial-media img { height: min(440px, 64vw); }.focus-grid { grid-template-columns: repeat(2, 1fr); }.focus-card:last-child { grid-column: 1 / -1; }.focus-card:last-child .focus-image { height: 235px; }
    .join-panel { align-items: flex-start; flex-direction: column; }.join-actions { justify-content: flex-start; }
}

@media (max-width: 560px) {
    .brand-logo { width: 43px; height: 43px; }.brand-copy strong { font-size: 1.04rem; }.brand-copy small { font-size: .52rem; }.nav-actions .btn-accent { display: none; }
    .hero-copy h1 { font-size: 2.05rem; }.hero-copy p { font-size: .91rem; line-height: 1.64; }.hero-actions { gap: .55rem; margin-top: 1.65rem; }.hero-actions .btn, .hero-actions .btn-ghost-light { padding-right: .85rem; padding-left: .85rem; font-size: .74rem; }.hero-signature { margin-top: 1.8rem; font-size: .61rem; }.hero-visual-note { left: 0; padding: .72rem .78rem; }.hero-image-frame { height: 258px; border-width: 5px; box-shadow: 12px 12px 0 rgba(239,173,34,.9); }
    .impact-stats { grid-template-columns: 1fr; }.impact-stat { min-height: 73px; padding: .75rem 1.15rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }.impact-stat:last-child { border-bottom: 0; }.impact-stat strong { font-size: 1.45rem; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }.section-heading h2 { font-size: 1.55rem; }.editorial-section { padding: 4rem 0; }.editorial-media::before { top: -11px; left: -11px; }.editorial-media img { height: 320px; }.editorial-stamp { right: 0; bottom: 14px; width: 159px; }.values-grid, .focus-grid { grid-template-columns: 1fr; }.focus-card:last-child { grid-column: auto; }.focus-card:last-child .focus-image { height: 205px; }.focus-card p { min-height: 0; }.calendar-section { padding: 4.2rem 0; }.events-panel { box-shadow: 9px 9px 0 rgba(239,173,34,.85); }.event-row { padding-right: .9rem; padding-left: .9rem; }.event-row > i { display: none; }
    .quote-section { padding: 4rem 0; }.quote-layout { grid-template-columns: 38px minmax(0, 1fr); gap: .4rem; }.quote-mark { font-size: 5.5rem; }.quote-layout blockquote { font-size: 1rem; }.quote-author { grid-column: 1 / -1; }
    .join-section { padding-bottom: 4rem; }.join-panel { padding: 1.65rem; box-shadow: 8px 8px 0 var(--gold-500); }
    .footer-inner { width: calc(100% - 32px); grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; padding-top: 2.5rem; }
    .footer-col-brand { grid-column: 1 / -1; grid-row: auto; }
    .footer-col-contact { grid-column: 1 / -1; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: .75rem; }
    .footer-bottom .footer-links, .footer-bottom-links { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .footer-inner { width: calc(100% - 24px); grid-template-columns: 1fr; gap: 1.75rem; padding-top: 2rem; }
    .footer-col-brand, .footer-col-contact { grid-column: auto; }
    .footer-bottom { width: 100%; align-items: center; text-align: center; }
    .footer-bottom-links { justify-content: center; }
}

/* ================================================================
   STRUCTURE ADMINISTRATIVE — Styles de la page publique
   ================================================================ */

.sa-page { min-height: 60vh; }

/* Hero interne */
.sa-hero {
    background: linear-gradient(135deg, var(--forest-950) 0%, var(--forest-800) 100%);
    color: var(--white);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.sa-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.sa-breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 1.5rem;
}
.sa-breadcrumb a { color: rgba(255,255,255,.6); transition: color .2s; }
.sa-breadcrumb a:hover { color: var(--gold-400); }
.sa-breadcrumb i { font-size: .6rem; }
.sa-breadcrumb span { color: var(--gold-400); font-weight: 600; }

.sa-hero-title {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 1rem;
    color: var(--white);
}
.sa-hero-accent { color: var(--gold-400); }
.sa-hero-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,.78);
    max-width: 680px;
    margin: 0 0 2rem;
}
.sa-hero-anchors {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}
.sa-anchor-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem 1.1rem;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 2rem;
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255,255,255,.88);
    transition: background .2s, color .2s, border-color .2s;
    background: rgba(255,255,255,.07);
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
}
.sa-anchor-btn:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--forest-950);
}

/* Contenu */
.sa-content { padding: 4rem 0 5rem; display: grid; gap: 3.5rem; }

/* Sections */
.sa-section { }
.sa-section-head { margin-bottom: 1.75rem; }
.sa-section-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--forest-800);
    background: rgba(7, 84, 78, .08);
    padding: .28rem .75rem;
    border-radius: 2rem;
    margin-bottom: .6rem;
}
.sa-section-title {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 .4rem;
}
.sa-section-sub {
    font-size: .95rem;
    color: var(--body);
    margin: 0;
}

/* Carte générique */
.sa-card {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    padding: 2rem 2.25rem;
}
.sa-card-table { padding: 0; overflow: hidden; }
.sa-empty {
    color: var(--body);
    font-style: italic;
    text-align: center;
    padding: 2rem 0;
    margin: 0;
}

/* Liste des organes */
.sa-organs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .2rem;
    counter-reset: none;
}
.sa-organ-item {
    display: grid;
    grid-template-columns: 2.2rem 1fr;
    gap: .35rem .5rem;
    padding: .85rem .6rem;
    border-bottom: 1px solid var(--line);
    align-items: start;
}
.sa-organ-item:last-child { border-bottom: 0; }
.sa-organ-roman {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    color: var(--forest-800);
    font-size: .93rem;
    padding-top: .05rem;
}
.sa-organ-label {
    font-size: .97rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.5;
    grid-column: 2;
}
.sa-organ-children {
    grid-column: 2;
    list-style: none;
    margin: .5rem 0 0;
    padding: 0;
    display: grid;
    gap: .18rem;
}
.sa-organ-children li {
    display: flex;
    align-items: baseline;
    gap: .45rem;
    font-size: .88rem;
    color: var(--body);
    padding: .22rem 0;
    border-left: 2px solid var(--gold-400);
    padding-left: .65rem;
    margin-left: .15rem;
}
.sa-child-num {
    color: var(--forest-800);
    font-weight: 700;
    font-size: .78rem;
    min-width: 1.2rem;
}

/* Grille du Comité Exécutif */
.sa-committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.25rem;
}
.sa-member-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow .22s, transform .22s;
}
.sa-member-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.sa-member-vacant { border-style: dashed; opacity: .72; }
.sa-member-vacant:hover { opacity: 1; }

.sa-member-top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem 1.4rem .8rem;
}
.sa-member-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--forest-800);
}
.sa-member-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest-800), var(--forest-700));
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sa-member-vacant .sa-member-avatar {
    background: var(--canvas-warm);
    color: var(--body);
}

.sa-member-info { flex: 1; min-width: 0; }
.sa-member-position {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--forest-800);
    margin-bottom: .28rem;
}
.sa-member-name {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}
.sa-vacant { font-style: italic; color: var(--body); font-weight: 400; }
.sa-member-bio {
    font-size: .82rem;
    color: var(--body);
    margin: .4rem 0 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sa-member-contact {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: .8rem 1.4rem 1.2rem;
    border-top: 1px solid var(--line);
}
.sa-contact-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .8rem;
    color: var(--forest-800);
    transition: color .2s;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sa-contact-link:hover { color: var(--gold-500); }
.sa-contact-link i { font-size: .75rem; flex-shrink: 0; }

/* Tableau historique des présidents */
.sa-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}
.sa-table thead tr {
    background: var(--canvas-warm);
    border-bottom: 2px solid var(--line);
}
.sa-table th {
    padding: .9rem 1.2rem;
    text-align: left;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--body);
}
.sa-table td { padding: .85rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.sa-table tbody tr:last-child td { border-bottom: 0; }
.sa-table tbody tr:hover td { background: rgba(7,84,78,.03); }
.sa-row-current td { background: rgba(7,84,78,.04); }
.sa-td-num { font-weight: 700; color: var(--body); width: 3rem; font-variant-numeric: tabular-nums; }
.sa-td-name { font-weight: 700; color: var(--ink); }
.sa-td-period { color: var(--body); white-space: nowrap; }
.sa-td-notes { color: var(--body); font-size: .85rem; max-width: 240px; }
.sa-badge-current {
    display: inline-block;
    margin-left: .5rem;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .18rem .55rem;
    border-radius: 2rem;
    background: rgba(7,84,78,.1);
    color: var(--forest-800);
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
    .sa-hero { padding: 4rem 0 3rem; }
    .sa-content { gap: 2.5rem; }
    .sa-card { padding: 1.4rem 1.2rem; }
    .sa-committee-grid { grid-template-columns: 1fr; }
    .sa-table th, .sa-table td { padding: .7rem .9rem; }
    .sa-td-notes { display: none; }
}
@media (max-width: 480px) {
    .sa-hero-anchors { gap: .4rem; }
    .sa-anchor-btn { font-size: .76rem; padding: .42rem .85rem; }
    .sa-organ-item { grid-template-columns: 1.8rem 1fr; }
    .sa-member-top { gap: .75rem; }
    .sa-member-photo, .sa-member-avatar { width: 46px; height: 46px; }
}
