
:root {
    --navy: #071b4b;
    --navy-deep: #04122f;
    --blue: #0b3c8c;
    --blue-light: #2868c7;
    --gold: #d6a54a;
    --gold-soft: #f0dcae;
    --cream: #f7f3ea;
    --white: #ffffff;
    --ink: #172038;
    --muted: #657086;
    --line: rgba(7, 27, 75, .13);
    --shadow: 0 24px 70px rgba(7, 27, 75, .14);
    --radius: 28px;
    --container: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
    color: var(--navy);
    line-height: 1.07;
    letter-spacing: -.035em;
}
h1 { font-size: clamp(3rem, 7vw, 7.2rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 4.8rem); }
h3 { font-size: clamp(1.4rem, 2vw, 2rem); }
.site-container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}
.screen-reader-text, .skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.skip-link:focus {
    z-index: 9999;
    width: auto;
    height: auto;
    clip: auto;
    padding: 12px 18px;
    top: 8px;
    inset-inline-start: 8px;
    background: var(--white);
    color: var(--navy);
}
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding: 18px 0;
    transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
    padding: 10px 0;
    background: rgba(255,255,255,.95);
    box-shadow: 0 10px 38px rgba(7,27,75,.1);
    backdrop-filter: blur(16px);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
}
.is-scrolled .brand { color: var(--navy); }
.brand img {
    width: 74px;
    height: 64px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.is-scrolled .brand img { filter: none; }
.brand-copy { display: flex; flex-direction: column; line-height: .9; }
.brand-copy strong { font-size: 1.2rem; letter-spacing: .11em; }
.brand-copy small { margin-top: 8px; font-size: .68rem; letter-spacing: .35em; }
.primary-navigation {
    display: flex;
    align-items: center;
    gap: 26px;
    color: var(--white);
    font-size: .93rem;
    font-weight: 700;
}
.is-scrolled .primary-navigation { color: var(--navy); }
.primary-navigation > a {
    position: relative;
    text-decoration: none;
}
.primary-navigation > a:not(.nav-mail)::after {
    content: "";
    position: absolute;
    height: 2px;
    inset-inline: 0;
    bottom: -7px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .2s ease;
}
.primary-navigation > a:hover::after { transform: scaleX(1); }
.nav-mail {
    padding: 11px 17px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--navy-deep);
}
.language-switcher ul {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
}
.language-switcher a {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid currentColor;
    border-radius: 50%;
    text-decoration: none;
    text-transform: uppercase;
    font-size: .72rem;
}
.nav-toggle { display: none; }
.site-main { overflow: hidden; }
.hero-section {
    --hero-image: none;
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center 36%;
    color: var(--white);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4,18,47,.91) 0%, rgba(4,18,47,.72) 42%, rgba(4,18,47,.1) 77%),
        linear-gradient(0deg, rgba(4,18,47,.42), transparent 45%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding-top: 190px;
    padding-bottom: 90px;
}
.hero-content h1 { color: var(--white); max-width: 790px; margin-bottom: 25px; }
.hero-text { max-width: 680px; font-size: clamp(1.08rem, 1.7vw, 1.35rem); color: rgba(255,255,255,.88); }
.eyebrow {
    margin-bottom: 18px;
    color: var(--blue);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.eyebrow.light { color: var(--gold-soft); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: var(--blue-light); }
.button-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.button-ghost:hover { background: var(--white); color: var(--navy); }
.button-gold { background: var(--gold); color: var(--navy-deep); }
.marquee {
    overflow: hidden;
    background: var(--gold);
    color: var(--navy-deep);
    font-size: clamp(1.15rem, 2.5vw, 2rem);
    font-weight: 900;
    white-space: nowrap;
}
.marquee > div {
    display: inline-flex;
    animation: marquee 28s linear infinite;
}
.marquee span { padding: 22px 50px; }
.marquee span::after { content: "✦"; margin-inline-start: 50px; }
@keyframes marquee { to { transform: translateX(-33.333%); } }
.section { padding: clamp(80px, 10vw, 145px) 0; }
.section-about { background: var(--cream); }
.split-layout {
    display: grid;
    grid-template-columns: 1fr .92fr;
    gap: clamp(50px, 8vw, 110px);
    align-items: center;
}
.split-copy h2 { max-width: 700px; }
.split-copy p { color: var(--muted); max-width: 650px; }
.text-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--blue);
    font-weight: 900;
    text-decoration: none;
}
.image-stack { position: relative; padding: 30px 0 0 30px; }
.image-main {
    width: 100%;
    min-height: 520px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.since-badge {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 135px;
    height: 135px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 18px 40px rgba(7,27,75,.28);
}
.since-badge strong { font-size: 2rem; line-height: 1; }
.since-badge span { font-size: .7rem; letter-spacing: .2em; }
.section-heading { max-width: 900px; margin-bottom: 55px; }
.section-heading.narrow { max-width: 730px; }
.section-heading p:not(.eyebrow) { color: var(--muted); }
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.mission-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 55px rgba(7,27,75,.09);
}
.mission-card img {
    width: 100%;
    height: 295px;
    object-fit: cover;
}
.mission-card > div { padding: 28px; }
.mission-card p { color: var(--muted); }
.card-number { color: var(--gold); font-weight: 900; letter-spacing: .15em; }
.section-gallery { background: var(--cream); }
.photo-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: repeat(2, 290px);
    gap: 20px;
}
.photo-grid figure {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
}
.photo-grid .photo-wide { grid-row: 1 / 3; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-grid figure:hover img { transform: scale(1.035); }
.section-videos { background: var(--navy-deep); color: var(--white); }
.section-videos h2 { color: var(--white); }
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: center;
}
.video-grid video {
    width: 100%;
    max-height: 470px;
    border-radius: 22px;
    background: #000;
    box-shadow: 0 20px 55px rgba(0,0,0,.3);
}
.gala-banner {
    --gala-image: none;
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    background: var(--gala-image) center/cover no-repeat;
    color: var(--white);
}
.gala-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4,18,47,.96), rgba(4,18,47,.72) 55%, rgba(4,18,47,.15));
}
.gala-banner-content { position: relative; max-width: 680px; z-index: 2; }
.gala-banner h2 { color: var(--white); }
.gala-banner p { color: rgba(255,255,255,.82); }
.gala-banner strong { display: block; color: var(--gold-soft); font-size: 1.3rem; margin-bottom: 28px; }
.contact-cta { background: var(--white); }
.contact-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: clamp(36px, 6vw, 72px);
    border-radius: var(--radius);
    background: var(--cream);
}
.contact-panel h2 { max-width: 800px; margin-bottom: 12px; }
.contact-panel p { margin-bottom: 0; color: var(--muted); }
.page-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: flex-end;
    background: var(--navy-deep);
    color: var(--white);
}
.page-hero-content { position: relative; z-index: 2; padding: 190px 0 75px; }
.page-hero h1 { color: var(--white); }
.page-hero p { max-width: 770px; color: rgba(255,255,255,.8); }
.gala-page-hero {
    --page-image: none;
    background: var(--page-image) center/cover no-repeat;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4,18,47,.96), rgba(4,18,47,.72), rgba(4,18,47,.22));
}
.simple-page-hero { min-height: 54vh; background: radial-gradient(circle at 80% 0%, #174f9f, var(--navy-deep) 58%); }
.event-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.event-meta span, .event-meta strong {
    padding: 12px 17px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    color: var(--white);
}
.event-meta strong { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.event-grid { display: grid; grid-template-columns: 1.35fr .75fr; gap: 70px; }
.event-program h2 { font-size: clamp(2rem, 3.5vw, 3.7rem); }
.event-list { list-style: none; padding: 0; margin: 38px 0 0; }
.event-list li {
    position: relative;
    padding: 20px 0 20px 38px;
    border-bottom: 1px solid var(--line);
    font-weight: 750;
}
.event-list li::before {
    content: "✦";
    position: absolute;
    inset-inline-start: 0;
    color: var(--gold);
}
.event-sidebar { display: grid; gap: 20px; align-self: start; }
.info-card {
    padding: 32px;
    border-radius: 24px;
    background: var(--cream);
}
.info-card h2 { font-size: 1.8rem; }
.info-card p { color: var(--muted); }
.info-card.highlight { background: var(--navy); color: var(--white); }
.info-card.highlight h2 { color: var(--white); }
.info-card.highlight p { color: rgba(255,255,255,.75); }
.action-list { display: grid; gap: 45px; }
.action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--cream);
}
.action-row.reverse img { order: 2; }
.action-row img { width: 100%; height: 100%; object-fit: cover; }
.action-row > div { align-self: center; padding: clamp(35px, 7vw, 85px); }
.action-row span { color: var(--gold); font-weight: 900; letter-spacing: .15em; }
.action-row p { color: var(--muted); }
.contact-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: center;
    padding: clamp(35px, 7vw, 75px);
    border-radius: var(--radius);
    background: var(--cream);
}
.contact-card img { width: 100%; max-height: 250px; object-fit: contain; }
.contact-card h2 { word-break: break-word; }
.prose { max-width: 800px; }
.site-footer {
    padding: 70px 0 22px;
    background: var(--navy-deep);
    color: rgba(255,255,255,.72);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr .7fr;
    gap: 50px;
    padding-bottom: 45px;
}
.footer-brand img { width: 140px; filter: brightness(0) invert(1); }
.site-footer h2 { color: var(--white); font-size: 1.2rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.13);
    font-size: .85rem;
}
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

html[dir="rtl"] .hero-overlay,
html[dir="rtl"] .gala-banner-overlay,
html[dir="rtl"] .page-hero-overlay {
    transform: scaleX(-1);
}
html[dir="rtl"] .event-list li { padding: 20px 38px 20px 0; }

@media (max-width: 980px) {
    .nav-toggle {
        display: grid;
        width: 46px;
        height: 46px;
        padding: 11px;
        gap: 5px;
        border: 0;
        border-radius: 50%;
        background: rgba(255,255,255,.15);
        cursor: pointer;
    }
    .is-scrolled .nav-toggle { background: var(--cream); }
    .nav-toggle span:not(.screen-reader-text) { height: 2px; background: var(--white); }
    .is-scrolled .nav-toggle span:not(.screen-reader-text) { background: var(--navy); }
    .primary-navigation {
        position: fixed;
        inset: 0;
        z-index: -1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 100px 30px 40px;
        background: var(--navy-deep);
        color: var(--white) !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: .25s ease;
        font-size: 1.35rem;
    }
    body.nav-open .primary-navigation {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .language-switcher { margin-top: 15px; }
    .split-layout, .event-grid { grid-template-columns: 1fr; }
    .mission-grid, .video-grid { grid-template-columns: 1fr; }
    .mission-card { display: grid; grid-template-columns: .8fr 1.2fr; }
    .mission-card img { height: 100%; min-height: 330px; }
    .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 250px; }
    .photo-grid .photo-wide { grid-column: 1 / 3; grid-row: auto; }
    .contact-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 680px) {
    body { font-size: 16px; }
    .site-container { width: min(calc(100% - 28px), var(--container)); }
    .brand img { width: 59px; height: 52px; }
    .brand-copy strong { font-size: 1rem; }
    .hero-section { min-height: 88vh; background-position: 62% center; }
    .hero-overlay { background: linear-gradient(0deg, rgba(4,18,47,.94) 0%, rgba(4,18,47,.68) 62%, rgba(4,18,47,.24)); }
    .hero-content { padding-top: 150px; padding-bottom: 58px; }
    .button-row, .button { width: 100%; }
    .split-layout { gap: 42px; }
    .image-main { min-height: 410px; }
    .mission-card { display: block; }
    .mission-card img { min-height: 0; height: 260px; }
    .photo-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(3, 280px); }
    .photo-grid .photo-wide { grid-column: auto; }
    .gala-banner { min-height: 650px; background-position: 66% center; }
    .action-row, .action-row.reverse { grid-template-columns: 1fr; }
    .action-row.reverse img { order: initial; }
    .action-row img { height: 300px; }
    .contact-card { grid-template-columns: 1fr; text-align: center; }
    .contact-card img { max-width: 240px; margin-inline: auto; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}


/* WordPress toolbar is intentionally hidden on the public website. */
html { margin-top: 0 !important; }
body.admin-bar .site-header { top: 0 !important; }
@media screen and (max-width: 782px) {
    html { margin-top: 0 !important; }
}

/* Official Gala poster */
.gala-poster-section {
    background:
        radial-gradient(circle at 10% 10%, rgba(214,165,74,.16), transparent 34%),
        var(--cream);
}
.gala-poster-layout {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    align-items: center;
    gap: clamp(45px, 8vw, 100px);
}
.gala-poster-copy p:not(.eyebrow) { color: var(--muted); }
.gala-poster-card {
    margin: 0;
    padding: 18px;
    border-radius: 30px;
    background: var(--white);
    box-shadow: var(--shadow);
}
.gala-poster-card a { display: block; }
.gala-poster-card img {
    width: 100%;
    height: auto;
    border-radius: 18px;
}

/* Keep each language internally consistent. */
html[lang^="he"] body { direction: rtl; text-align: right; }
html[lang^="fr"] body,
html[lang^="en"] body { direction: ltr; text-align: left; }

@media (max-width: 900px) {
    .gala-poster-layout { grid-template-columns: 1fr; }
    .gala-poster-copy { max-width: 720px; }
}
