:root {
    --bg: #06131c;
    --bg-deep: #030a10;
    --panel: #0b1822;
    --panel-soft: #111b29;
    --purple: #2d143d;
    --purple-light: #4e245f;
    --gold: #d8a52f;
    --gold-light: #f2cf70;
    --gold-dark: #8e6418;
    --text: #f4ead2;
    --muted: #b9b0a4;
    --green: #087a3d;
    --red: #bd1e2d;
    --white: #f4efe3;
    --border: rgba(216, 165, 47, .34);
    --shadow: 0 22px 60px rgba(0, 0, 0, .35);
    --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: radial-gradient(circle at 50% 0, #102331 0, var(--bg) 38%, var(--bg-deep) 100%);
    font-family: Vazirmatn, Tahoma, Arial, sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
p { margin: 0 0 1.15rem; }
h1, h2, h3, h4 { margin: 0 0 .75rem; line-height: 1.35; font-weight: 800; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 92px 0; }
.screen-reader-text { position: absolute!important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { clip: auto!important; height: auto; width: auto; top: 10px; right: 10px; z-index: 99999; padding: 12px 18px; color: #000; background: #fff; }

/* Header */
.gold-rule { height: 4px; background: linear-gradient(90deg, #5b3500, var(--gold-light), #7d4e0b, var(--gold-light), #5b3500); }
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(3, 11, 17, .94);
    border-bottom: 1px solid rgba(216, 165, 47, .42);
    box-shadow: 0 12px 35px rgba(0,0,0,.28);
    backdrop-filter: blur(14px);
}
.header-inner { min-height: 105px; display: flex; align-items: center; gap: 34px; }
.brand { display: flex; align-items: center; gap: 16px; margin-left: auto; min-width: 390px; }
.brand-logo { object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 3px #b67c16, 0 0 0 7px rgba(2,9,14,.92), 0 8px 22px rgba(0,0,0,.4); }
.brand-logo--header { width: 118px; height: 118px; margin-bottom: -34px; position: relative; z-index: 4; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.5; }
.brand-copy strong { color: var(--gold-light); font-size: 1.28rem; font-weight: 900; white-space: nowrap; }
.brand-copy small { color: #d7d0c5; font-size: .86rem; }
.primary-navigation { margin-right: auto; }
.primary-menu { display: flex; align-items: center; gap: 25px; list-style: none; padding: 0; margin: 0; }
.primary-menu a { display: block; color: #d7d0c5; font-weight: 600; font-size: .94rem; padding: 38px 0 31px; position: relative; }
.primary-menu a::after { content: ""; position: absolute; height: 2px; width: 0; right: 0; bottom: 25px; background: var(--gold); transition: width .25s ease; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { color: var(--gold-light); }
.primary-menu a:hover::after, .primary-menu .current-menu-item > a::after { width: 100%; }
.menu-toggle { display: none; width: 46px; height: 42px; border: 1px solid var(--border); border-radius: 8px; background: transparent; padding: 10px; }
.menu-toggle span:not(.screen-reader-text) { display: block; height: 2px; background: var(--gold); margin: 5px 0; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: 11px 25px; border: 1px solid transparent; border-radius: 5px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,.24); }
.button:hover { transform: translateY(-2px); }
.button--gold { color: #11100d; background: linear-gradient(180deg, var(--gold-light), #c38b17); border-color: #e7bd57; }
.button--gold:hover { color: #000; background: linear-gradient(180deg, #ffe39b, var(--gold)); }
.button--outline { color: var(--white); border-color: rgba(242,207,112,.55); background: rgba(4,13,19,.56); }
.button--outline:hover { color: var(--gold-light); border-color: var(--gold); }
.button--purple { background: linear-gradient(180deg, #4b205b, #2a1237); border-color: rgba(216,165,47,.5); color: #fff; }
.button--purple:hover { background: #5c296c; }
.text-link { color: var(--gold-light); font-weight: 700; }
.text-link:hover { color: #fff; }

/* Hero */
.hero { position: relative; min-height: 600px; overflow: hidden; background: #07131c var(--hero-image) center right/cover no-repeat; border-bottom: 1px solid rgba(216,165,47,.5); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,11,17,.95) 0%, rgba(3,11,17,.86) 35%, rgba(3,11,17,.12) 74%, rgba(3,11,17,.05) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 220px; background: linear-gradient(0deg, rgba(3,11,17,.88), transparent); }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 68% 17%, rgba(246,172,31,.22), transparent 25%); }
.hero-content { min-height: 600px; position: relative; z-index: 3; display: flex; align-items: center; }
.hero-copy { width: min(560px, 62%); padding: 72px 0 100px; }
.eyebrow, .section-kicker { color: var(--gold); font-weight: 800; letter-spacing: .02em; }
.hero h1 { color: var(--gold-light); font-size: clamp(2.6rem, 5vw, 4.8rem); text-shadow: 0 4px 22px rgba(0,0,0,.5); max-width: 720px; }
.hero-copy > p:not(.eyebrow) { max-width: 540px; color: #e0d6c7; font-size: 1.08rem; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; }
.hero-curve { position: absolute; left: -3%; right: -3%; bottom: -44px; height: 130px; z-index: 5; border-top: 3px solid var(--gold); border-radius: 50% 50% 0 0 / 38% 38% 0 0; overflow: visible; filter: drop-shadow(0 -7px 16px rgba(0,0,0,.5)); }
.hero-curve > span { position: absolute; left: 0; right: 0; display: block; }
.curve-green { top: 0; height: 17px; background: var(--green); }
.curve-white { top: 17px; height: 17px; background: #e6dfd1; }
.curve-red { top: 34px; height: 17px; background: var(--red); }
.hero-curve img { position: absolute; width: 106px; height: 106px; object-fit: cover; border-radius: 50%; right: 50%; transform: translateX(50%); top: -36px; border: 3px solid var(--gold); box-shadow: 0 8px 28px rgba(0,0,0,.55); }
.hero-leaf { position: absolute; z-index: 2; width: 105px; height: 345px; top: 70px; opacity: .75; background: radial-gradient(ellipse at 50% 50%, rgba(216,165,47,.95) 0 6%, transparent 7%), linear-gradient(90deg, transparent 47%, #a8791d 48% 52%, transparent 53%); filter: drop-shadow(0 2px 3px #000); }
.hero-leaf::before, .hero-leaf::after { content: ""; position: absolute; inset: 10px 4px; background: repeating-radial-gradient(ellipse at 70% 15%, rgba(171,121,29,.9) 0 7px, transparent 8px 30px); transform: rotate(14deg); }
.hero-leaf--right { right: 0; }
.hero-leaf--left { left: 0; transform: scaleX(-1); }

/* Section headings */
.section-heading { margin-bottom: 34px; }
.section-heading.centered { text-align: center; }
.section-heading.centered > span { display: inline-flex; align-items: center; gap: 18px; color: var(--gold); font-weight: 900; font-size: 1.25rem; }
.section-heading.centered > span::before, .section-heading.centered > span::after { content: ""; width: 90px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.section-heading.centered > span::after { transform: scaleX(-1); }
.section-heading h2 { color: var(--gold-light); font-size: clamp(1.8rem, 3vw, 2.8rem); margin-top: 8px; }
.section-link-wrap { display: flex; justify-content: center; margin-top: 32px; }

/* Mission */
.mission-section { padding-top: 120px; }
.split-grid { display: grid; grid-template-columns: .9fr 1.35fr; gap: 55px; align-items: center; }
.mission-image { position: relative; }
.mission-image > img { width: 100%; min-height: 430px; object-fit: cover; border: 2px solid var(--gold-dark); border-radius: 8px; box-shadow: inset 0 0 0 5px rgba(0,0,0,.6), var(--shadow); }
.stone-note { position: absolute; left: 22px; bottom: 24px; color: #24170d; background: linear-gradient(135deg, #c2aa85, #8e795b); border: 3px ridge #b88a42; border-radius: 7px; padding: 15px 22px; transform: rotate(-3deg); font-weight: 800; font-size: 1.2rem; line-height: 1.7; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.mission-copy h2 { color: var(--gold-light); font-size: clamp(2rem, 3.5vw, 3.15rem); }
.mission-copy > p { color: #d2c8bb; font-size: 1.02rem; }
.mission-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.mini-card { min-height: 190px; text-align: center; padding: 22px 14px; background: linear-gradient(180deg, rgba(18,28,39,.93), rgba(6,14,21,.92)); border: 1px solid var(--border); border-radius: 7px; box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.icon { width: 50px; height: 50px; margin: 0 auto 10px; color: var(--gold); filter: sepia(1) saturate(3.2) hue-rotate(355deg) brightness(1.05); }
.mini-card h3 { color: var(--gold-light); font-size: 1rem; }
.mini-card p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.75; }

/* Principles */
.principles-section { background: linear-gradient(180deg, rgba(7,17,26,.5), rgba(3,9,14,.85)); }
.principles-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.principle-card { position: relative; min-height: 245px; text-align: center; padding: 27px 16px; background: linear-gradient(155deg, rgba(54,25,65,.72), rgba(10,18,26,.94) 67%); border: 1px solid rgba(216,165,47,.44); border-radius: 6px; overflow: hidden; }
.principle-card::after { content: ""; position: absolute; inset: auto -35% -80px; height: 130px; background: radial-gradient(circle, rgba(117,51,131,.26), transparent 70%); }
.principle-card h3 { color: var(--gold-light); font-size: 1.04rem; }
.principle-card p { color: #c3b9ab; font-size: .86rem; margin: 0; }
.principle-card:hover { transform: translateY(-5px); border-color: var(--gold); }

/* Events */
.events-preview { background: radial-gradient(circle at 50% 0, rgba(52,24,65,.22), transparent 45%); }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.event-card { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; min-height: 172px; padding: 18px; background: linear-gradient(180deg, rgba(13,25,34,.96), rgba(6,14,20,.96)); border: 1px solid var(--border); border-radius: 7px; }
.event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 78px; min-height: 118px; border: 1px solid rgba(216,165,47,.55); border-radius: 6px; background: rgba(5,13,19,.6); line-height: 1.25; }
.event-date small { color: var(--gold-light); }
.event-date strong { color: #fff; font-size: 2rem; }
.event-date span { color: #d7d0c5; }
.event-details h3 { color: var(--gold-light); font-size: 1.12rem; }
.event-details p { margin: 0; color: #b9b1a6; font-size: .82rem; }
.event-details > a { color: var(--gold); font-size: .88rem; font-weight: 800; }

/* News */
.news-preview { background: linear-gradient(180deg, rgba(3,10,15,.3), rgba(12,18,26,.72)); }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.news-card { overflow: hidden; background: linear-gradient(180deg, #101b25, #071018); border: 1px solid var(--border); border-radius: 7px; box-shadow: 0 13px 30px rgba(0,0,0,.18); }
.news-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.news-image { position: relative; display: block; height: 178px; overflow: hidden; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-image img { transform: scale(1.05); }
.news-tag { position: absolute; top: 10px; right: 10px; padding: 4px 10px; background: rgba(63,25,80,.92); border: 1px solid rgba(216,165,47,.45); border-radius: 4px; font-size: .75rem; }
.news-body { padding: 18px; }
.news-body h3 { color: #f1e6d6; font-size: 1.03rem; min-height: 55px; }
.news-body p { color: var(--muted); font-size: .84rem; line-height: 1.75; min-height: 74px; }
.news-meta { display: flex; justify-content: space-between; color: #9f978c; font-size: .74rem; border-top: 1px solid rgba(255,255,255,.06); padding-top: 10px; }
.news-grid--archive { grid-template-columns: repeat(3, 1fr); }
.pagination-wrap { margin-top: 36px; }
.nav-links { display: flex; justify-content: center; gap: 8px; }
.page-numbers { min-width: 42px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 4px; }
.page-numbers.current, .page-numbers:hover { background: var(--gold); color: #111; }

/* Join */
.join-section { padding-top: 38px; padding-bottom: 48px; }
.join-box { position: relative; min-height: 200px; display: grid; grid-template-columns: 250px 1fr auto; gap: 28px; align-items: center; overflow: hidden; padding: 30px 38px; background: linear-gradient(100deg, rgba(39,15,52,.96), rgba(69,29,81,.92), rgba(22,15,33,.97)); border: 1px solid rgba(216,165,47,.54); border-radius: 7px; }
.join-art { align-self: stretch; margin: -30px 0 -30px -38px; background: linear-gradient(90deg, rgba(40,17,52,.08), rgba(40,17,52,.85)), url('../images/cta-flag.jpg') center/cover no-repeat; }
.join-copy h2 { color: var(--gold-light); font-size: 2.5rem; }
.join-copy p { color: #ded4c8; }
.join-options { display: flex; flex-wrap: wrap; gap: 18px; }
.join-options span { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-light); font-size: .88rem; font-weight: 700; }
.join-options .icon { width: 28px; height: 28px; margin: 0; }

/* Footer */
.site-footer { background: #030a0f; border-top: 1px solid var(--gold-dark); }
.tricolour-line { height: 7px; background: linear-gradient(to bottom, var(--green) 0 33%, #e9e4da 33% 66%, var(--red) 66% 100%); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr 160px; gap: 42px; padding: 46px 0 28px; align-items: start; }
.site-footer h2 { color: var(--gold-light); font-size: 1.02rem; }
.footer-menu, .footer-menu .primary-menu { list-style: none; padding: 0; margin: 0; display: block; }
.footer-menu li, .footer-menu .primary-menu li { margin-bottom: 4px; }
.footer-menu a, .footer-menu .primary-menu a { color: #bdb4a8; font-size: .84rem; padding: 0; }
.footer-menu a::after { display: none; }
.footer-menu a:hover { color: var(--gold-light); }
.social-links { display: flex; gap: 9px; }
.social-links a { width: 39px; height: 39px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border); color: var(--gold-light); background: #0d1520; font-size: .72rem; font-weight: 900; }
.social-links a:hover { color: #111; background: var(--gold); }
.footer-flag { display: flex; height: 8px; margin-top: 20px; max-width: 260px; border-radius: 3px; overflow: hidden; }
.footer-flag span { flex: 1; }
.footer-flag span:nth-child(1) { background: var(--green); }
.footer-flag span:nth-child(2) { background: #e8e0d2; }
.footer-flag span:nth-child(3) { background: var(--red); }
.footer-social p, .footer-contact p { color: #bdb4a8; font-size: .84rem; margin: 8px 0; }
.footer-contact a:hover { color: var(--gold-light); }
.brand-logo--footer { width: 128px; height: 128px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(216,165,47,.18); padding: 16px 0 23px; color: #8f887e; font-size: .72rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--gold); }

/* Page heroes */
.page-hero { position: relative; min-height: 350px; display: flex; align-items: center; background: linear-gradient(90deg, rgba(3,10,15,.98), rgba(3,10,15,.45)), url('../images/hero-mountains.jpg') center/cover no-repeat; border-bottom: 1px solid var(--border); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(216,165,47,.18), transparent 28%); }
.page-hero--programs { background-position: center 34%; }
.page-hero--events { background-position: center 62%; }
.page-hero--news { background-position: center 72%; }
.page-hero-inner { position: relative; z-index: 2; padding: 75px 0 65px; max-width: 820px; }
.page-hero-inner span { color: var(--gold); font-weight: 800; }
.page-hero-inner h1 { color: var(--gold-light); font-size: clamp(2.4rem, 5vw, 4.5rem); }
.page-hero-inner p { color: #d9d0c3; font-size: 1.08rem; max-width: 700px; }

/* About */
.about-main { align-items: start; }
.content-prose { color: #d2c9bd; font-size: 1.04rem; }
.content-prose h2 { color: var(--gold-light); font-size: 2.5rem; }
.content-prose h3 { color: var(--gold-light); }
.content-prose a { color: var(--gold-light); text-decoration: underline; }
.content-prose blockquote { margin: 26px 0; padding: 18px 24px; color: var(--gold-light); background: rgba(49,22,59,.45); border-right: 4px solid var(--gold); border-radius: 4px; font-size: 1.15rem; }
.values-band { background: linear-gradient(180deg, rgba(35,16,45,.35), rgba(4,11,16,.6)); }
.mission-cards--wide { grid-template-columns: repeat(4, 1fr); }
.story-section { padding-top: 30px; }
.story-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.story-card { position: relative; min-height: 230px; padding: 28px 24px; background: linear-gradient(145deg, #111e29, #071018); border: 1px solid var(--border); border-radius: 7px; }
.story-card strong { color: rgba(216,165,47,.25); font-size: 3.6rem; line-height: 1; }
.story-card h3 { color: var(--gold-light); }
.story-card p { color: var(--muted); }

/* Programs */
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.program-card { position: relative; min-height: 260px; padding: 32px 35px 30px 95px; background: linear-gradient(145deg, rgba(52,24,64,.55), rgba(7,16,23,.96) 70%); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.program-card .icon { position: absolute; left: 27px; top: 37px; width: 54px; height: 54px; }
.program-card h2 { color: var(--gold-light); font-size: 1.45rem; }
.program-card p { color: #c5bcae; margin: 0; }
.program-number { position: absolute; bottom: -13px; left: 18px; color: rgba(216,165,47,.11); font-size: 6.2rem; font-weight: 900; line-height: 1; }
.manifesto { padding-top: 25px; }
.manifesto-inner { display: grid; grid-template-columns: 150px 1fr auto; gap: 28px; align-items: center; padding: 28px 34px; background: linear-gradient(100deg, #251331, #0b1620); border: 1px solid var(--border); border-radius: 8px; }
.manifesto-inner > img { width: 130px; height: 130px; object-fit: cover; border-radius: 50%; border: 2px solid var(--gold); }
.manifesto h2 { color: var(--gold-light); }
.manifesto p { color: var(--muted); margin: 0; }

/* Events archive */
.events-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.event-feature { padding: 25px; background: linear-gradient(155deg, rgba(46,21,57,.6), rgba(7,16,23,.96) 64%); border: 1px solid var(--border); border-radius: 8px; }
.event-feature-top { display: flex; justify-content: space-between; align-items: flex-start; }
.event-feature-top > .icon { margin: 8px 0 0; width: 58px; height: 58px; }
.event-date--large { width: 92px; min-height: 130px; }
.event-feature h2 { margin-top: 20px; color: var(--gold-light); font-size: 1.4rem; }
.event-feature > p { min-height: 92px; color: var(--muted); }
.event-feature dl { margin: 18px 0; border-top: 1px solid rgba(216,165,47,.16); }
.event-feature dl div { display: flex; justify-content: space-between; gap: 15px; padding: 9px 0; border-bottom: 1px solid rgba(216,165,47,.12); }
.event-feature dt { color: var(--gold); }
.event-feature dd { margin: 0; color: #c6bdb0; text-align: left; }

/* Single */
.single-hero { padding: 85px 0; background: linear-gradient(90deg, rgba(3,10,15,.98), rgba(3,10,15,.5)), url('../images/hero-mountains.jpg') center/cover no-repeat; border-bottom: 1px solid var(--border); }
.single-hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 45px; align-items: center; }
.single-hero h1 { color: var(--gold-light); font-size: clamp(2.4rem, 4.5vw, 4.1rem); }
.single-meta { color: #b8afa3; }
.single-thumb img { width: 100%; height: 320px; object-fit: cover; border: 2px solid var(--gold-dark); border-radius: 8px; box-shadow: var(--shadow); }
.content-prose--single, .content-prose--page { max-width: 880px; padding-top: 70px; padding-bottom: 90px; }
.content-prose--single p, .content-prose--page p { margin-bottom: 1.5rem; }
.event-single-grid { display: grid; grid-template-columns: 130px 1fr; gap: 30px; align-items: center; }
.single-hero--event { min-height: 390px; display: flex; align-items: center; }

/* 404 */
.not-found { min-height: 650px; display: flex; align-items: center; text-align: center; padding: 80px 0; }
.not-found img { width: 190px; height: 190px; object-fit: cover; border-radius: 50%; margin: 0 auto 25px; border: 3px solid var(--gold); }
.not-found h1 { color: var(--gold-light); font-size: 3rem; }
.not-found p { color: var(--muted); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto!important; transition: none!important; animation: none!important; }
    .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1120px) {
    .brand { min-width: 325px; }
    .brand-copy strong { font-size: 1.05rem; }
    .primary-menu { gap: 16px; }
    .primary-menu a { font-size: .86rem; }
    .principles-grid { grid-template-columns: repeat(3, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { display: none; }
}

@media (max-width: 920px) {
    body.admin-bar .site-header { top: 46px; }
    .header-inner { min-height: 82px; }
    .brand { min-width: 0; }
    .brand-logo--header { width: 82px; height: 82px; margin-bottom: -17px; }
    .brand-copy strong { font-size: .95rem; }
    .brand-copy small { font-size: .75rem; }
    .menu-toggle { display: block; margin-right: auto; }
    .primary-navigation { position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 0 20px; background: rgba(3,11,17,.98); border-bottom: 1px solid var(--border); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
    .primary-navigation.is-open { max-height: 520px; }
    .primary-menu { display: block; padding: 12px 0 20px; }
    .primary-menu a { padding: 10px 5px; border-bottom: 1px solid rgba(255,255,255,.05); }
    .primary-menu a::after { display: none; }
    .hero { min-height: 560px; background-position: 64% center; }
    .hero-content { min-height: 560px; }
    .hero-copy { width: 72%; }
    .hero-leaf { display: none; }
    .split-grid { grid-template-columns: 1fr; }
    .mission-image { max-width: 650px; margin-inline: auto; }
    .mission-cards { grid-template-columns: repeat(2, 1fr); }
    .event-grid, .events-page-grid { grid-template-columns: 1fr; }
    .story-grid { grid-template-columns: repeat(2, 1fr); }
    .join-box { grid-template-columns: 190px 1fr; }
    .join-box > .button { grid-column: 2; justify-self: start; }
    .program-grid { grid-template-columns: 1fr; }
    .manifesto-inner { grid-template-columns: 120px 1fr; }
    .manifesto-inner > .button { grid-column: 2; justify-self: start; }
    .single-hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 68px 0; }
    .brand-copy { display: none; }
    .brand-logo--header { width: 72px; height: 72px; }
    .hero { min-height: 610px; background-position: 70% center; }
    .hero::before { background: linear-gradient(90deg, rgba(3,11,17,.98), rgba(3,11,17,.78)); }
    .hero-content { min-height: 610px; align-items: flex-start; }
    .hero-copy { width: 100%; padding-top: 95px; }
    .hero h1 { font-size: 2.7rem; }
    .hero-actions { flex-direction: column; align-items: stretch; max-width: 280px; }
    .hero-curve { bottom: -54px; }
    .mission-section { padding-top: 100px; }
    .mission-image > img { min-height: 320px; }
    .mission-cards, .mission-cards--wide { grid-template-columns: 1fr; }
    .mini-card { min-height: auto; }
    .principles-grid { grid-template-columns: 1fr; }
    .event-card { grid-template-columns: 82px 1fr; padding: 14px; }
    .news-grid, .news-grid--archive { grid-template-columns: 1fr; }
    .news-image { height: 220px; }
    .join-box { grid-template-columns: 1fr; padding: 25px; }
    .join-art { min-height: 145px; margin: -25px -25px 0; }
    .join-box > .button { grid-column: 1; justify-self: stretch; }
    .join-options { display: grid; grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .footer-bottom { flex-direction: column; }
    .section-heading.centered > span::before, .section-heading.centered > span::after { width: 35px; }
    .story-grid { grid-template-columns: 1fr; }
    .program-card { padding: 28px 25px; }
    .program-card .icon { position: static; margin: 0 0 12px auto; }
    .manifesto-inner { grid-template-columns: 1fr; text-align: center; }
    .manifesto-inner > img { margin-inline: auto; }
    .manifesto-inner > .button { grid-column: 1; justify-self: stretch; }
    .page-hero { min-height: 330px; }
    .page-hero-inner h1 { font-size: 2.6rem; }
    .single-hero { padding: 65px 0; }
    .single-thumb img { height: 240px; }
    .event-single-grid { grid-template-columns: 1fr; }
    .not-found h1 { font-size: 2.2rem; }
}

/* Footer fallback menu when no assigned WordPress menu exists. */
.site-footer .primary-menu { display: block; list-style: none; margin: 0; padding: 0; }
.site-footer .primary-menu li { margin: 0 0 4px; }
.site-footer .primary-menu a { display: inline; padding: 0; color: #bdb4a8; font-size: .84rem; }
.site-footer .primary-menu a::after { display: none; }
.site-footer .primary-menu a:hover { color: var(--gold-light); }

/* Elementor integration */
.zg-elementor-content {
    width: 100%;
    overflow: hidden;
}
.zg-elementor-content .elementor {
    width: 100%;
}
.elementor-widget-container > .zg-elementor-section {
    width: 100%;
}
.elementor-widget-zg-hero,
.elementor-widget-zg-page-banner,
.elementor-widget-zg-mission,
.elementor-widget-zg-content-split,
.elementor-widget-zg-cards,
.elementor-widget-zg-events,
.elementor-widget-zg-news,
.elementor-widget-zg-cta {
    width: 100%;
}
.elementor-editor-active .reveal,
.elementor-editor-preview .reveal,
body.elementor-editor-active .reveal {
    opacity: 1;
    transform: none;
}
.zg-controlled-grid {
    grid-template-columns: repeat(var(--zg-columns, 3), minmax(0, 1fr)) !important;
}
.split-grid--reverse .mission-image {
    order: 2;
}
.split-grid--reverse > :not(.mission-image) {
    order: 1;
}
.zg-section-description {
    max-width: 760px;
    margin: 10px auto 0;
    color: var(--muted);
}
.zg-empty-message {
    padding: 35px;
    text-align: center;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 7px;
}
.pagination-wrap ul.page-numbers {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-widget-column .widget {
    margin: 0 0 22px;
}
.footer-widget-column .widget-title {
    color: var(--gold-light);
    font-size: 1.02rem;
}
.footer-widget-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-widget-column a {
    color: #bdb4a8;
}
.footer-widget-column a:hover {
    color: var(--gold-light);
}
.zg-site-identity {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}
.zg-site-identity img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border: 2px solid var(--gold);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.zg-site-identity span {
    display: flex;
    flex-direction: column;
}
.zg-site-identity strong {
    color: var(--gold-light);
    font-size: 1.25rem;
}
.zg-site-identity small {
    color: var(--muted);
}
.zg-site-identity--vertical {
    flex-direction: column;
    text-align: center;
}
.zg-site-identity--vertical span {
    align-items: center;
}

@media (max-width: 920px) {
    .zg-controlled-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 680px) {
    .zg-controlled-grid {
        grid-template-columns: 1fr !important;
    }
    .split-grid--reverse .mission-image,
    .split-grid--reverse > :not(.mission-image) {
        order: initial;
    }
}
