*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #ffffff;
  --ink: #000000;
  --wire-gray: #b2b3b6;
  --wire-light: #ededed;
  --border: 1px solid #000000;
}

body {
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: var(--border);
  background: var(--bg);
}

.brand-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: var(--border);
  padding: 16px 26px;
  font-size: 1.6rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 400;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 64px;
}

.main-nav a {
  font-size: 1.65rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 400;
  transition: opacity 0.15s ease;
}

.main-nav a:hover {
  opacity: 0.6;
}

.main-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.main-nav .btn-give {
  border: var(--border);
  border-radius: 9999px;
  padding: 12px 46px;
}

.main-nav .btn-give:hover {
  background: var(--ink);
  color: var(--bg);
  opacity: 1;
}

/* Main container */
.page-wrap {
  max-width: 1340px;
  margin: 0 auto;
  padding: 48px 32px 84px;
}

/* Hero base */
.hero {
  background: var(--wire-gray);
  border-radius: 28px;
  min-height: 690px;
  padding: 88px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero--bottom-left {
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  padding: 64px 76px;
}

/* Wireframe outline card */
.wire-card {
  border: var(--border);
  border-radius: 22px;
  background: var(--bg);
}

/* Pill buttons */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 265px;
  padding: 18px 42px;
  border-radius: 9999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pill-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
}

/* Inline underlined links */
.inline-link {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link:hover {
  opacity: 0.65;
}

/* Section headings */
.section-heading {
  font-size: 2.7rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* Footer */
.site-footer {
  background: var(--wire-gray);
  padding: 68px 32px 84px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.footer-col h3 {
  font-size: 1.75rem;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 5px;
  margin-bottom: 22px;
  letter-spacing: 0.03em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1.25rem;
}

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

/* Modal / Pop-up */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 1000;
  overflow-y: auto;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-panel {
  background: var(--bg);
  width: 100%;
  max-width: 1120px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  padding: 64px 76px 76px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 44px;
  right: 52px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease;
}

.modal-close:hover {
  opacity: 0.55;
}

.modal-title {
  font-size: 2.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.1;
}

.modal-subtitle {
  font-size: 1.35rem;
  margin-top: 8px;
  margin-bottom: 52px;
}

.img-placeholder {
  background: var(--wire-light);
  border-radius: 18px;
}

/* Responsive */
@media (max-width: 960px) {
  .site-header {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav {
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    min-height: 520px;
    padding: 56px 24px;
  }

  .hero--bottom-left {
    padding: 40px 28px;
  }

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

  .modal-panel {
    padding: 40px 28px;
  }

  .modal-close {
    top: 24px;
    right: 24px;
  }
}
