:root {
  --ink: #111111;
  --muted: #565656;
  --line: #e5e0da;
  --paper: #ffffff;
  --soft: #f7f4ef;
  --sage: #dfe9dc;
  --green: #41664c;
  --green-dark: #243d2d;
  --accent: #c7a46a;
  --shadow: 0 18px 45px rgba(30, 38, 28, 0.1);
  color-scheme: light;
  font-family: Questrial, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  font-size: 16px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
}

body,
button,
input,
textarea {
  font: inherit;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.nav {
  align-items: center;
  display: flex;
  gap: 34px;
  justify-content: center;
  margin: 0 auto;
  min-height: 58px;
  padding: 0 24px;
  width: min(100%, 1180px);
}

.nav a {
  font-size: 19px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  color: var(--green);
}

.page {
  min-height: 60vh;
}

.section {
  padding: 72px 24px;
}

.section-soft {
  background: var(--soft);
}

.container {
  margin: 0 auto;
  max-width: 1120px;
  width: 100%;
}

.narrow {
  max-width: 860px;
}

.hero {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 510px;
}

.hero-media {
  background: var(--sage);
  min-height: 420px;
  overflow: hidden;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-copy {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 64px 52px;
}

.hero-copy-inner {
  max-width: 500px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 24px;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 28px;
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 18px;
}

p,
li,
dd {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.68;
}

.lead {
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.button {
  background: var(--green-dark);
  border: 1px solid var(--green-dark);
  color: #ffffff;
  display: inline-flex;
  justify-content: center;
  line-height: 1;
  min-height: 46px;
  padding: 15px 24px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: #ffffff;
  color: var(--green-dark);
}

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

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

.about-intro {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
}

.about-intro-logo {
  justify-self: start;
  width: min(100%, 360px);
}

.about-text-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-feature-panel {
  align-items: stretch;
  display: grid;
  gap: 0;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.85fr);
  overflow: hidden;
  padding: 0;
}

.about-feature-copy {
  align-self: center;
  padding: 36px;
}

.about-feature-copy p:last-child {
  margin-bottom: 0;
}

.about-feature-panel-reverse .about-feature-copy {
  grid-column: 2;
  grid-row: 1;
}

.about-feature-panel-reverse .about-feature-image {
  grid-column: 1;
  grid-row: 1;
}

.about-feature-image {
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  width: 100%;
}

.lebanon-text-panel {
  grid-column: 1 / -1;
  text-align: center;
}

.lebanon-text-panel h2 {
  color: #c62828;
}

.about-stories {
  display: grid;
  gap: 34px;
}

.story-panel {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden;
}

.story-panel-reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.story-panel-reverse img {
  grid-column: 2;
  grid-row: 1;
}

.story-panel-reverse div {
  grid-column: 1;
  grid-row: 1;
}

.story-panel img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.story-panel div {
  padding: 34px 36px 34px 0;
}

.story-panel-reverse div {
  padding: 34px 0 34px 36px;
}

.story-panel h2 {
  margin-bottom: 18px;
}

.story-panel p:last-child {
  margin-bottom: 0;
}

.panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.panel.about-feature-panel {
  padding: 0;
}

.panel h3,
.panel p:last-child,
.panel ul:last-child {
  margin-bottom: 0;
}

.donation-grid {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.qr-box {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}

.qr-box img {
  border: 1px solid var(--line);
  width: min(247px, 100%);
}

.detail-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.detail-list div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}

.detail-list dt {
  color: var(--ink);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.detail-list dd {
  color: var(--ink);
  font-size: 1.2rem;
  margin: 0;
  overflow-wrap: anywhere;
}

.content-block + .content-block {
  margin-top: 44px;
}

.content-block ul {
  padding-left: 1.2rem;
}

.image-band {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr 0.8fr;
  margin-top: 40px;
}

.image-band img {
  aspect-ratio: 16 / 10;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.contact-layout {
  display: grid;
  gap: 48px;
  grid-template-columns: 0.82fr 1.18fr;
}

.contact-list {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.contact-list h3 {
  font-size: 1.18rem;
  margin-bottom: 6px;
}

.contact-list p {
  margin-bottom: 0;
}

.socials {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.socials a {
  align-items: center;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.socials img {
  height: 24px;
  object-fit: contain;
  width: 24px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  color: var(--ink);
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

input,
textarea {
  border: 1px solid #b9b0a7;
  border-radius: 0;
  color: var(--ink);
  min-width: 0;
  padding: 13px 14px;
  width: 100%;
}

textarea {
  min-height: 170px;
  resize: vertical;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 52px 24px 26px;
}

.footer-grid {
  align-items: start;
  display: grid;
  gap: 38px;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  margin: 0 auto;
  max-width: 1120px;
  width: 100%;
}

.footer-logo {
  margin-bottom: 18px;
  width: 146px;
}

.footer-grid h2 {
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-grid p {
  font-size: 1rem;
}

.footer-legal {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  margin: 36px auto 0;
  max-width: 1120px;
  padding-top: 22px;
  text-align: center;
}

.footer-legal,
.footer-legal a {
  color: var(--ink);
  font-size: 0.9rem;
}

.footer-legal a {
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .nav {
    align-content: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    min-height: 92px;
    padding: 10px 12px;
  }

  .nav a {
    background: rgba(65, 102, 76, 0.09);
    border-radius: 999px;
    font-size: 13px;
    padding: 8px 10px;
  }

  .about-intro {
    gap: 22px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-intro-logo {
    justify-self: center;
    width: min(78vw, 260px);
  }

  .hero,
  .grid-2,
  .donation-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-media img {
    height: auto;
    object-fit: contain;
  }

  .hero-copy {
    padding: 42px 22px 50px;
  }

  .section {
    padding: 54px 20px;
  }

  .card-grid,
  .about-text-grid,
  .image-band {
    grid-template-columns: 1fr;
  }

  .about-feature-panel {
    grid-template-columns: 1fr;
  }

  .panel.about-feature-panel {
    padding: 0;
  }

  .about-feature-panel-reverse .about-feature-copy,
  .about-feature-panel-reverse .about-feature-image {
    grid-column: auto;
    grid-row: auto;
  }

  .about-feature-copy {
    padding: 28px 24px 24px;
  }

  .about-feature-image {
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    object-fit: contain;
    width: 100%;
  }

  .story-panel img,
  .image-band img {
    height: auto;
    object-fit: contain;
  }

  .story-panel,
  .story-panel-reverse {
    grid-template-columns: 1fr;
  }

  .story-panel-reverse img,
  .story-panel-reverse div {
    grid-column: auto;
    grid-row: auto;
  }

  .story-panel div,
  .story-panel-reverse div {
    padding: 0 24px 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-legal {
    text-align: center;
  }

  .footer-logo,
  .footer-grid .socials {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 380px) {
  .nav a {
    font-size: 12px;
    padding-inline: 8px;
  }

  .panel {
    padding: 22px;
  }
}
