/* ── TOKENS ──────────────────────────────────────────── */
:root {
  --ink:         #1e1c1a;
  --muted:       #5e5a54;
  --light-muted: #9a9490;
  --paper:       #f8f6f1;
  --white:       #ffffff;
  --line:        #e0dbd0;
  --amber:       #e8a900;
  --amber-dark:  #6b4e00;
  --amber-bg:    #fffbef;
  --night:       #1a1916;
  --night-mid:   #2c2a27;
  --content-max: 1180px;
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
}

a { color: inherit; }

main {
  background: var(--white);
}

/* ── TOP RIBBON ──────────────────────────────────────── */
.top-ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 9px clamp(20px, 5vw, 70px);
  background: var(--amber);
  font-size: 13px;
  font-weight: 700;
  color: var(--night);
}

.top-ribbon a {
  color: var(--night);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.top-ribbon a:hover { text-decoration: underline; }

/* ── HEADER ──────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px max(24px, calc((100vw - var(--content-max)) / 2));
  background: var(--night);
  border-bottom: 3px solid var(--amber);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.brand-text span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav a {
  color: #b8b4ad;
  text-decoration: none;
  transition: color 0.15s;
}

nav a:hover { color: var(--white); }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(320px, 450px) minmax(520px, 660px);
  justify-content: center;
  align-items: center;
  gap: clamp(44px, 6vw, 72px);
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: clamp(54px, 7vw, 78px) max(32px, calc((100vw - var(--content-max)) / 2));
  background: var(--white);
}

.hero-img-col {
  position: relative;
  overflow: hidden;
}

.hero-img-col img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center center;
}

.hero-text-col {
  padding: clamp(36px, 5vw, 62px) 0;
  background: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  column-gap: clamp(26px, 3vw, 38px);
  align-items: center;
  align-content: center;
}

.hero-logo {
  grid-column: 2;
  grid-row: 1 / span 5;
  justify-self: center;
  transform: translate(48px, 22px);
  width: 280px;
  height: auto;
  margin: 0;
}

.hero-text-col > :not(.hero-logo) {
  grid-column: 1;
}

.label {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
}

h1 {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  max-width: none;
  white-space: nowrap;
}

h1 span {
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
}

.headline-mark {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
}

.rule {
  width: 48px;
  height: 3px;
  background: var(--amber);
  margin: 28px 0;
}

.hero-text-col > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 52ch;
}

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

.btn-give,
.btn-email {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.15s;
}

.btn-give:hover,
.btn-email:hover { opacity: 0.82; }

.btn-give {
  background: var(--night);
  color: var(--white);
}

.btn-email {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

/* ── SHARED SECTION HEADER ───────────────────────────── */
.section-header {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-header.centered { text-align: center; }

.section-label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
}

.section-label.light { color: var(--amber); }

h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

/* ── MISSION ─────────────────────────────────────────── */
.mission {
  padding: clamp(52px, 7vw, 96px) clamp(20px, 5vw, 70px);
  background: var(--amber-bg);
  border-top: 1px solid #e8debb;
  border-bottom: 1px solid #e8debb;
}

.mission-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 56px);
}

.mission-cols p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 60ch;
}

/* ── DIPG SECTION ────────────────────────────────────── */
.dipg-section {
  background: var(--night);
  border-top: 3px solid var(--amber);
  padding: clamp(52px, 7vw, 96px) max(24px, calc((100vw - var(--content-max)) / 2));
}

.dipg-inner {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
  justify-content: center;
  max-width: var(--content-max);
  margin: 0 auto;
}

.dipg-text-col h2 { color: var(--white); }

.dipg-text-col p {
  margin: 20px 0 0;
  color: #b0aca4;
  font-size: 17px;
  max-width: 65ch;
}

.dipg-text-col a {
  color: var(--amber);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── GIVE SECTION ────────────────────────────────────── */
.give-section {
  padding: clamp(52px, 7vw, 96px) max(24px, calc((100vw - var(--content-max)) / 2));
  background: var(--white);
  border-top: 1px solid var(--line);
}

.give-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.give-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.give-card h3 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.give-card p,
.give-card address {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
  line-height: 1.65;
}

.give-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--amber-dark);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.give-link:hover { text-decoration: underline; }

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--night);
  padding: 32px clamp(20px, 5vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
}

.footer-logo img {
  width: 36px;
  height: 32px;
  object-fit: contain;
  opacity: 0.85;
}

.footer-copy {
  margin: 0;
  color: #706c65;
  font-size: 13px;
}

.footer-copy a {
  color: #b0aca4;
  text-decoration: none;
}

.footer-copy a:hover { text-decoration: underline; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 980px) {
  h1 { max-width: none; }

  .dipg-inner {
    grid-template-columns: 1fr;
  }

  .give-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-cols {
    grid-template-columns: 1fr;
  }

  .top-ribbon { flex-direction: column; gap: 4px; }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .hero-img-col img {
    min-height: 420px;
    height: 420px;
    aspect-ratio: auto;
    object-position: center 28%;
  }

  .hero-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(48px, 7vw, 90px) clamp(32px, 5vw, 72px);
  }

  .hero-logo {
    align-self: center;
    width: 112px;
    margin: 0 auto 30px;
    transform: none;
  }

  h1 {
    flex-wrap: wrap;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  nav { flex-wrap: wrap; gap: 16px; }

  .give-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; }
  .btn-give,
  .btn-email { width: 100%; }

  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-give,
  .btn-email,
  nav a { transition: none; }
}
