:root {
  color-scheme: light;
  --ink: #172e45;
  --muted: #3e5263;
  --brand: #174c70;
  --brand-hover: #103b5a;
  --pale: #eaf3fb;
  --paper: #f4f8fc;
  --line: #cddbe7;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 100%;
  line-height: 1.6;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: white; }
img { display: block; max-width: 100%; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0 0 .65em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 4.6vw, 4.6rem); letter-spacing: -.053em; margin-bottom: .35em; }
h1 span { display: block; color: var(--brand); }
h2 { font-size: clamp(1.95rem, 3.4vw, 3.2rem); letter-spacing: -.04em; }
h3 { font-size: 1.22rem; }
a { color: var(--brand); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid #145783; outline-offset: 4px; }
.wrap { width: min(1190px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 1rem; top: 0; z-index: 10; transform: translateY(-160%); background: white; padding: .7rem 1rem; }
.skip:focus { transform: translateY(.5rem); }
.header { background: white; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 83px; display: flex; align-items: center; gap: 1.35rem; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; line-height: 1.2; }
.brand img { width: 50px; height: 50px; object-fit: contain; }
.brand b { display: block; font-size: 1.3rem; }
.brand small { display: block; color: var(--muted); margin-top: .22rem; font-size: .8rem; }
nav, .actions { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); }
nav a, .language { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; white-space: nowrap; }
nav a:hover, .language:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 51px; padding: .62rem 1.15rem; border: 2px solid transparent; border-radius: 8px; background: var(--brand); color: white; font-size: 1rem; font-weight: 700; line-height: 1.35; text-decoration: none; text-align: center; }
.button:hover { background: var(--brand-hover); }
.button.compact { min-height: 44px; padding: .5rem .9rem; }
.button.outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.button.outline:hover { background: #fff; }
.buttons, .links { display: flex; flex-wrap: wrap; gap: .7rem 1rem; }
.hero { background: var(--paper); padding-block: clamp(2.5rem, 5vw, 4.65rem); }
.hero-grid, .work-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5.5vw, 5.5rem); }
.hero-copy p { color: var(--muted); font-size: clamp(1.12rem, 1.7vw, 1.36rem); max-width: 34rem; margin-bottom: 1.5rem; }
.hero-image { position: relative; isolation: isolate; }
.hero-image::before { position: absolute; content: ""; inset: 13px -13px -13px 13px; z-index: -1; border-radius: 14px; background: #d2e6f4; }
.hero-image img { width: 100%; height: auto; aspect-ratio: 1.46; border-radius: 14px; object-fit: cover; object-position: 50% 49%; background: #dbe8ef; }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section, footer { scroll-margin-top: 1rem; }
.intro-grid { display: grid; grid-template-columns: .74fr 1.26fr; gap: 2rem 4.3rem; }
.intro-grid p, .work-grid > div > p, .donate-inner p, .footer-grid p { font-size: 1.13rem; }
.section p { color: var(--muted); }
.audience-title { margin-top: 2.1rem; font-size: 1.55rem; }
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.audience article { padding: 1.2rem; border: 1px solid var(--line); border-block-start: 3px solid #86b3d1; border-radius: 8px; }
.blue { background: var(--pale); }
.work-grid { grid-template-columns: .84fr 1.16fr; }
.work-photo { width: 100%; aspect-ratio: 1.05; height: auto; object-fit: cover; border-radius: 14px; background: #dce8e7; }
.tracks, .steps { margin: 1.35rem 0; padding: 0; list-style: none; }
.tracks li { padding: .9rem 0; border-top: 1px solid #bbcddc; }
.tracks h3, .steps h3 { margin-bottom: .33em; }
.links a, .text-link { font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }
.support-grid { display: grid; grid-template-columns: 1.16fr .84fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.steps li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.4rem; }
.step-no { flex: 0 0 2.25rem; display: grid; place-items: center; height: 2.25rem; background: var(--pale); color: var(--brand); font-weight: 700; border-radius: 50%; }
.text-link { margin-top: .4rem; }
.faq { background: var(--paper); border-radius: 12px; padding: clamp(1.15rem, 3vw, 2rem); }
.faq h2 { font-size: clamp(1.55rem, 2.5vw, 2rem); }
details { border-top: 1px solid var(--line); }
summary { min-height: 48px; cursor: pointer; padding: .8rem 0; font-weight: 700; }
details p { padding-bottom: .8rem; }
.donate-section { background: var(--brand); color: white; padding-block: clamp(2.25rem, 5vw, 4rem); }
.donate-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.3rem 2.5rem; }
.donate-inner > div:first-child { max-width: 37rem; }
.donate-inner h2 { margin-bottom: .25em; }
.donate-inner .buttons { flex-shrink: 0; }
.white { background: white; color: var(--brand); }
.white:hover { background: var(--pale); }
.on-dark { border-color: #d7e7f4; }
.donate-section :focus-visible { outline-color: white; }
.footer { --footer-line: #7295ae; padding-block: 2.5rem 1rem; background: var(--brand); color: #fff; }
.footer a { color: inherit; }
.footer :focus-visible { outline-color: #fff; }
.footer-grid, .footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem 2rem; flex-wrap: wrap; }
.footer-grid h2 { font-size: 2rem; }
address { display: flex; flex-direction: column; font-style: normal; }
address a { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; }
.footer-bottom { border-top: 1px solid var(--footer-line); margin-top: 1.25rem; padding-top: .7rem; align-items: center; font-size: .92rem; }
.footer-bottom p { margin: 0; }
.legal, .social { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.legal a, .social a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 1010px) {
  .header-inner { flex-wrap: wrap; gap: .15rem 1rem; padding-block: .5rem; }
  nav { order: 3; width: 100%; }
  .donate-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 710px) {
  .wrap { width: calc(100% - 36px); }
  .hero-grid, .intro-grid, .work-grid, .support-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .intro-grid h2 { margin-bottom: 0; }
  .work-photo { aspect-ratio: 1.5; }
  .audience { grid-template-columns: 1fr; gap: .65rem; }
  .header-inner nav { margin-top: .4rem; padding-top: .22rem; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 0 1rem; }
  nav a { font-size: .9rem; }
  .actions { gap: .65rem; }
  .hero-image::before { inset: 8px -6px -8px 6px; }
}
@media (max-width: 380px) {
  .brand img { width: 38px; height: 38px; }
  .brand b { font-size: 1.04rem; }
  .brand small { font-size: .69rem; }
  .brand { gap: .4rem; }
  .actions a { font-size: .88rem; }
}

.activity-heading { max-width: 44rem; margin-bottom: 1.65rem; }
.activity-heading p { font-size: 1.15rem; }
.activity-grid, .giving-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
.activity-card { border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.activity-card a { display: flex; flex-direction: column; height: 100%; border-radius: inherit; color: var(--ink); text-decoration: none; }
.activity-card a:hover { background: var(--pale); }
.activity-card img { width: 100%; height: auto; aspect-ratio: 2.1; object-fit: cover; border-radius: 12px 12px 0 0; }
.activity-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(1.15rem, 2.5vw, 1.7rem); }
.activity-copy h3 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); margin-bottom: .35rem; }
.activity-copy p { margin-bottom: .85rem; }
.card-action { display: flex; align-items: center; gap: .6rem; color: var(--brand); font-weight: 700; margin-top: auto; }
.activity-card a:hover .card-action { text-decoration: underline; text-underline-offset: .2em; }
.page-hero .hero-copy p { max-width: 43rem; margin-bottom: 0; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 1.2rem; font-weight: 700; }
.activity-figure { margin: 0; }
.activity-figure img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; border-radius: 12px; }
.activity-figure figcaption { font-size: .86rem; color: var(--muted); padding-top: .3rem; }
.detail-copy { max-width: 800px; }
.detail-copy section + section { border-top: 1px solid var(--line); padding-top: 1.65rem; margin-top: 1.65rem; }
.detail-copy h2 { font-size: clamp(1.5rem, 2.7vw, 2.3rem); }
.detail-copy p { font-size: 1.12rem; }
.detail-copy .buttons { margin-top: 2.25rem; }
.giving-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.giving-card h2, .giving-help h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.giving-card p { margin-bottom: 1.4rem; }
.giving-card .button { margin-top: auto; }
.payment-logos { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.payment-logos li { display: grid; justify-items: center; gap: .2rem; min-width: 3.9rem; padding: .35rem; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #163153; font-size: .72rem; line-height: 1.3; }
.payment-logos img { display: block; width: 44px; height: 24px; object-fit: contain; }
.giving-help { margin-top: 2.25rem; border-top: 1px solid var(--line); padding-top: 1.65rem; }
@media (max-width: 610px) {
  .activity-grid, .giving-grid { grid-template-columns: 1fr; gap: .9rem; }
}

.subtopic { margin-block-start: 1.15rem; }
.subtopic h3 { margin-bottom: .35rem; line-height: 1.3; }
.subtopic p { color: var(--muted); }
.detail-copy .subtopic { padding-inline-start: 1rem; border-inline-start: 2px solid var(--line); }
.giving-card .subtopic { margin-block: 0 1.4rem; }
.giving-help .subtopic { max-width: 48rem; }
.giving-help .links { margin-top: .75rem; }
.tracks h3 a { text-decoration-thickness: .07em; }

.footer-foundation { border-top: 1px solid var(--footer-line); margin-top: 1.4rem; padding-top: 1.25rem; }
.footer-foundation-heading { display: flex; align-items: center; gap: .85rem; margin-bottom: .75rem; }
.footer-foundation-heading img { flex: none; padding: 4px; border-radius: 50%; background: white; object-fit: contain; }
.footer-foundation h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 0; }
.footer-foundation p { max-width: 46rem; margin-bottom: .6rem; }
.footer-foundation p:last-child { margin-bottom: 0; }

.journey-section { padding-top: clamp(2rem, 4vw, 3rem); }
.journey-index { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: .45rem .7rem; }
.journey-index a { padding-inline: .85rem; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
.destination-note { max-width: 52rem; margin-block: 1.1rem 2rem; }
.destination-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.destination-grid article { display: flex; flex-direction: column; padding: clamp(1.15rem, 3vw, 1.9rem); scroll-margin-top: 1rem; }
.destination-grid h2 { margin-bottom: .25em; font-size: clamp(1.65rem, 3vw, 2.2rem); }
.destination-grid h3 { margin-bottom: .35em; }
.destination-grid .journey-subtitle { color: var(--brand); font-weight: 700; }
.journey-venues { margin-top: auto; border-top: 1px solid var(--line); padding-top: .95rem; }
.journey-venues ul { margin-block: 0; padding-inline-start: 1.25rem; }
@media (max-width: 710px) {
  .destination-grid { grid-template-columns: 1fr; }
}

.legal-index {
  display: block;
  padding: 1.15rem 1.3rem;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.legal-index h2 { font-size: 1.4rem; }
.legal-index ol { margin: 0; padding-inline-start: 1.55rem; }
.legal-index a { min-height: 36px; white-space: normal; text-decoration: underline; }
.legal-copy > section { scroll-margin-top: 1rem; }
.legal-address { margin-bottom: 1rem; align-items: flex-start; }

.accessibility-link {
  position: fixed;
  z-index: 5;
  left: max(.65rem, env(safe-area-inset-left));
  inset-block-end: max(.65rem, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid white;
  background: var(--brand);
  box-shadow: 0 1px 5px #162d4266;
  color: white;
}
.accessibility-link:hover { background: var(--brand-hover); }
.accessibility-link:focus-visible { outline: 3px solid white; outline-offset: 2px; box-shadow: 0 0 0 7px var(--brand); }
.accessibility-link svg { width: 28px; height: 28px; }
.footer { padding-block-end: 4rem; }

button.button { font-family: inherit; cursor: pointer; }
.wire-dialog {
  width: min(34rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(1rem, 4vw, 2rem);
  background: white;
  color: var(--ink);
}
.wire-dialog::backdrop { background: #162d42aa; }
.wire-dialog h2 { font-size: clamp(1.45rem, 4vw, 2.1rem); }
.wire-fields { margin-block: 1rem 1.4rem; }
.wire-fields div { padding-block: .55rem; border-top: 1px solid var(--line); }
.wire-fields dt { color: var(--muted); font-size: .94rem; }
.wire-fields dd { margin: 0; font-size: 1.06rem; font-weight: 700; overflow-wrap: anywhere; }

.social { gap: .5rem; }
.social a {
  justify-content: center;
  width: 44px;
  min-height: 44px;
  border: 1px solid var(--footer-line);
  border-radius: 50%;
}
.social a:hover { background: #ffffff20; }
.social svg { width: 23px; height: 23px; }

.floating-donate {
  position: fixed;
  z-index: 5;
  right: max(.65rem, env(safe-area-inset-right));
  bottom: max(.65rem, env(safe-area-inset-bottom));
  min-height: 48px;
  padding: .55rem .95rem;
  gap: .45rem;
  border-color: white;
  border-radius: 999px;
  box-shadow: 0 1px 5px #162d4266;
  white-space: nowrap;
}
.floating-donate:focus-visible {
  outline: 3px solid white;
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--brand);
}

.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.gallery-copy { margin-bottom: 1.5rem; }
.gallery-copy p { max-width: 48rem; font-size: 1.15rem; }
.video-card { min-width: 0; overflow: hidden; border-radius: 12px; background: #101827; }
.gallery-video { display: block; width: 100%; height: auto; aspect-ratio: 1; background: #101827; object-fit: contain; }
#gallery > .wrap > .video-transcript { margin-top: 1.25rem; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; } .video-card { border-radius: 9px; } }

.memorial-dedication { background: #edf4f9; border-bottom: 1px solid var(--line); padding-block: 1.1rem; }
.memorial-dedication-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(.8rem, 3vw, 1.65rem); }
.memorial-dedication img { width: clamp(68px, 12vw, 112px); height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 27%; border-radius: 9px; }
.memorial-dedication h2 { font-size: clamp(1.45rem, 3.5vw, 2.35rem); margin-bottom: .3rem; }
.memorial-dedication p { color: var(--muted); margin-bottom: .3rem; }
.memorial-dedication a { display: inline-block; padding-block: .4rem; font-weight: 700; }
.memorial-page { max-width: 1050px; }
.memorial-page h1 { font-size: clamp(1.9rem, 4.5vw, 3.35rem); margin-bottom: .45rem; }
.memorial-unit { font-size: 1.16rem; margin-bottom: 1.65rem; }
.memorial-body { display: grid; grid-template-columns: minmax(190px, 29%) minmax(0, 1fr); align-items: start; gap: clamp(1.4rem, 5vw, 3.8rem); }
.memorial-portrait { display: block; width: 100%; height: auto; border-radius: 13px; }
.memorial-story p { font-size: 1.09rem; line-height: 1.75; margin-bottom: 1rem; }
.memorial-photos { margin-top: clamp(2rem, 5vw, 4rem); }
.memorial-photos h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.memorial-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(.75rem, 2vw, 1.4rem); }
.memorial-photo-grid img { display: block; width: 100%; height: auto; border-radius: 12px; }
.memorial-page .memorial-closing { margin: clamp(2rem, 5vw, 3.5rem) 0 0; padding: 1.1rem; background: #edf4f9; border-radius: 13px; text-align: center; color: var(--ink); font-size: clamp(1.15rem, 2.8vw, 1.6rem); font-weight: 700; }
@media (max-width: 640px) {
  .memorial-body { grid-template-columns: 1fr; }
  .memorial-portrait { width: min(100%, 230px); }
}

@media (max-width: 550px) {
  .memorial-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.language-menu { position: relative; flex-shrink: 0; }
.language-menu summary { display: flex; justify-content: center; min-width: 48px; font-size: 1.4rem; align-items: center; gap: .45rem; min-height: 44px; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: .65rem; font-weight: 700; cursor: pointer; list-style: none; white-space: nowrap; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-options { position: absolute; inset-inline-end: 0; top: calc(100% + .5rem); z-index: 20; display: grid; grid-template-columns: repeat(5, 44px); gap: .15rem; width: max-content; padding: .35rem; border: 1px solid var(--line); border-radius: .7rem; background: white; color: var(--ink); box-shadow: 0 12px 30px #102e4e22; }
.language-options a { display: flex; align-items: center; justify-content: center; font-size: 1.4rem; min-height: 44px; padding: .35rem; border-radius: .4rem; text-decoration: none; white-space: nowrap; }
.language-options a:hover, .language-options a[aria-current="page"] { background: #eaf3fc; }
.language-options a[lang="he"] { direction: rtl; }
@media (max-width: 600px) {
  .header-inner .brand { flex: 1 1 100%; }
  .header-inner .actions { margin-inline-start: auto; }
  .language-menu summary { font-size: 1.4rem; }
}

.video-transcript { grid-column: 1 / -1; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: .75rem; background: white; }
.video-transcript summary { cursor: pointer; min-height: 44px; font-weight: 700; }
.video-transcript p { max-width: 72ch; margin-block: .75rem; }
.video-transcript .transcript-note { color: var(--muted); }
video::cue { color: white; background: #102334e6; }
