:root {
  --cardinal: #8C1515;
  --cardinal-dark: #620F0F;
  --cardinal-light: #B83A3A;
  --sandstone: #B3995D;
  --sandstone-light: #D4B483;
  --white: #FFFFFF;
  --off-white: #F9F6F2;
  --gray-light: #F0ECEC;
  --gray: #C8C8C8;
  --gray-mid: #888888;
  --dark: #1A1A1A;
  --text: #2D2D2D;
}

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

body {
  font-family: 'Georgia', serif;
  background: var(--off-white);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Navigation ── */
nav {
  background: var(--cardinal);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
}

.nav-brand .logo-mark {
  width: 36px;
  height: 36px;
  background: var(--sandstone);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--cardinal-dark);
  flex-shrink: 0;
}

.nav-brand .brand-name {
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.current {
  color: var(--sandstone-light);
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--cardinal-dark) 0%, var(--cardinal) 60%, var(--cardinal-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sandstone-light);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: bold;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto;
}

.hero-divider {
  width: 56px;
  height: 3px;
  background: var(--sandstone);
  margin: 2rem auto 0;
  border-radius: 2px;
}

/* ── Section ── */
.section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  flex: 1;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--cardinal);
  padding-bottom: 0.75rem;
}

.section-title {
  font-size: 1.4rem;
  color: var(--cardinal-dark);
  letter-spacing: 0.01em;
}

.section-count {
  font-family: 'Arial', sans-serif;
  font-size: 0.82rem;
  color: var(--gray-mid);
  letter-spacing: 0.05em;
}

/* ── Campaign Grid ── */
.campaign-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 2.63rem;
}

.campaign-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid var(--gray-light);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.campaign-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(140,21,21,0.14);
}

.card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: var(--gray-light);
}

.card-body {
  padding: 1.8rem 1.95rem 2.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card-tag {
  font-family: 'Arial', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cardinal);
  font-weight: bold;
}

.card-name {
  font-size: 1.73rem;
  font-weight: bold;
  color: var(--dark);
  line-height: 1.3;
}

.card-desc {
  font-family: 'Arial', sans-serif;
  font-size: 1.25rem;
  color: var(--gray-mid);
  line-height: 1.5;
  margin-top: 0.3rem;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-light);
}

.card-status {
  font-family: 'Arial', sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.33rem 0.98rem;
  border-radius: 20px;
  font-weight: bold;
}

.status-active {
  background: #E8F5E9;
  color: #2E7D32;
}

.status-closed {
  background: var(--gray-light);
  color: var(--gray-mid);
}

.card-link {
  font-family: 'Arial', sans-serif;
  font-size: 1.17rem;
  color: var(--cardinal);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.card-link svg {
  width: 18px;
  height: 18px;
}

/* ── Inner page (ToS / Privacy) ── */
.inner-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 3.5rem 2rem 4rem;
  flex: 1;
}

.inner-page h1 {
  font-size: 2rem;
  color: var(--cardinal-dark);
  border-bottom: 2px solid var(--cardinal);
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
}

.inner-page .last-updated {
  font-family: 'Arial', sans-serif;
  font-size: 0.82rem;
  color: var(--gray-mid);
  margin-bottom: 2.5rem;
}

.inner-page h2 {
  font-size: 1.15rem;
  color: var(--cardinal);
  margin: 2rem 0 0.65rem;
}

.inner-page p,
.inner-page li {
  font-family: 'Arial', sans-serif;
  font-size: 0.93rem;
  line-height: 1.75;
  color: #444;
}

.inner-page ul {
  padding-left: 1.4rem;
  margin-top: 0.4rem;
}

.inner-page li {
  margin-bottom: 0.35rem;
}

.inner-page a {
  color: var(--cardinal);
}

/* ── Footer ── */
footer {
  background: var(--cardinal-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 2rem 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand {
  font-size: 1rem;
  font-weight: bold;
  color: var(--white);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--sandstone-light);
}

.footer-copy {
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.footer-disclaimer {
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
  max-width: 680px;
  line-height: 1.6;
}

/* ── Hamburger toggle ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--cardinal-dark);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1.25rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    z-index: 99;
  }

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

  .nav-links li a {
    display: block;
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

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