:root {
  --ink: #17202a;
  --muted: #667085;
  --paper: #f7f5ef;
  --white: #ffffff;
  --blue: #1d5f9f;
  --deep-blue: #12355b;
  --sky-blue: #17344d;
  --sky-blue-dark: #0b1b2b;
  --sky-blue-light: #285371;
  --gold: #d9a441;
  --sage: #6f8f72;
  --clay: #b85c45;
  --line: rgba(23, 32, 42, 0.14);
  --shadow: 0 24px 60px rgba(23, 32, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header.page-header {
  color: var(--ink);
  background: rgba(247, 245, 239, 0.96);
  box-shadow: 0 12px 28px rgba(23, 32, 42, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.page-header:not(.is-scrolled),
.site-header.page-header.is-open:not(.is-scrolled) {
  color: var(--white);
  background: transparent;
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  object-fit: contain;
  padding: 1px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.37rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.78;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: start;
  overflow: hidden;
  padding: 188px clamp(20px, 6vw, 72px) 54px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/jerusalem-old-city.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 27, 43, 0.9) 0%, rgba(11, 27, 43, 0.58) 50%, rgba(11, 27, 43, 0.2) 100%),
    linear-gradient(180deg, rgba(11, 27, 43, 0.38) 0%, rgba(11, 27, 43, 0.12) 42%, rgba(11, 27, 43, 0.72) 100%);
}

.hero-content {
  position: relative;
  max-width: 930px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.9rem, 5.2vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: #152030;
  background: var(--gold);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.12);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 64px);
  bottom: 44px;
  width: min(360px, calc(100% - 40px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
}

.hero-panel span,
.hero-panel strong {
  display: block;
}

.hero-panel span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel strong {
  margin-top: 8px;
  font-size: 1.14rem;
}

.hero-panel p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

.section,
.band,
.page-hero,
.article-layout,
.contact-band {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 72px);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
}

.section h2,
.band h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-intro > p,
.band-copy p,
.page-hero p,
.article-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.program-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(23, 32, 42, 0.06);
}

.card-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.program-card:nth-child(2) .card-icon {
  background: var(--clay);
}

.program-card:nth-child(3) .card-icon {
  background: var(--sage);
}

.program-card:nth-child(4) .card-icon {
  color: var(--ink);
  background: var(--gold);
}

.program-card h3,
.event-item h3,
.source-card h3 {
  margin: 26px 0 10px;
  font-size: 1.25rem;
}

.program-card p,
.event-item p,
.source-card p {
  margin: 0;
  color: var(--muted);
}

.program-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  color: var(--white);
  background: var(--deep-blue);
}

.band-copy p {
  color: rgba(255, 255, 255, 0.74);
  margin-top: 22px;
}

.section-intro .band-copy p {
  color: var(--muted);
  margin-top: 0;
}

.section-intro .band-copy p + p {
  margin-top: 18px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.principles div {
  min-height: 178px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.principles strong,
.principles span {
  display: block;
}

.principles strong {
  color: var(--gold);
  font-size: 1.28rem;
}

.principles span {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #e9f0f5;
}

.contact-band h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1;
}

.contact-band p:not(.section-kicker) {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.event-list {
  display: grid;
  gap: 12px;
}

.event-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.event-item time {
  color: var(--clay);
  font-weight: 900;
}

.event-item h3 {
  margin: 0 0 4px;
}

.page-hero {
  padding: 132px clamp(20px, 6vw, 72px) clamp(42px, 6vw, 70px);
  color: var(--white);
  background:
    linear-gradient(135deg, var(--sky-blue-dark) 0%, var(--sky-blue) 56%, var(--sky-blue-light) 100%);
}

.page-hero h1 {
  max-width: 960px;
}

.page-hero p {
  max-width: 760px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.84);
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
}

.article-layout-single {
  grid-template-columns: minmax(0, 1fr);
}

.article-nav {
  position: sticky;
  top: 102px;
  align-self: start;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.article-nav a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.article-copy {
  display: grid;
  gap: 34px;
}

.article-copy section {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.article-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.article-copy h3 {
  margin: 18px 0 8px;
}

.article-copy p,
.article-copy li {
  color: #38424c;
}

.article-copy ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-left: 4px solid var(--blue);
  background: var(--white);
}

.timeline-item time {
  color: var(--blue);
  font-weight: 900;
}

.timeline-item p {
  margin: 0;
}

.callout {
  padding: 22px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(23, 32, 42, 0.06);
}

.stat-chart {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(23, 32, 42, 0.06);
}

.stat-chart h3 {
  margin: 0;
}

.stat-chart p {
  margin: 0;
}

.bar-row {
  display: grid;
  grid-template-columns: 120px minmax(120px, 1fr) minmax(52px, auto);
  gap: 12px;
  align-items: center;
  color: #38424c;
  font-weight: 800;
}

.bar-row div {
  height: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(29, 95, 159, 0.14);
}

.bar-row b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.source-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.source-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 72px);
  color: rgba(255, 255, 255, 0.74);
  background: #111a24;
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  .program-grid,
  .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .section-intro,
  .band,
  .split-section,
  .contact-band,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .contact-band {
    display: grid;
  }

  .article-nav {
    position: static;
  }

  .hero {
    min-height: 720px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 36px;
  }
}

@media (max-width: 1100px) {
  .site-header {
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-logo {
    width: 72px;
    height: 72px;
  }

  .brand strong {
    font-size: 1.05rem;
    max-width: 150px;
  }

  .brand small {
    font-size: 0.68rem;
    max-width: 160px;
  }

  .menu-toggle {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 8px;
    color: inherit;
    background: transparent;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .nav-links {
    position: absolute;
    top: 92px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .hero {
    min-height: 700px;
    padding-top: 150px;
  }

  .page-hero {
    padding-top: 126px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .program-grid,
  .principles,
  .source-grid,
  .event-item,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .program-card,
  .source-card {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .page-hero {
    padding-bottom: 46px;
  }
}
