/* Reset / base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  /* Softer Cape Cod sky → sea → sand */
  background: radial-gradient(
    circle at top,
    #eaf4ff 0%,   /* pale sky blue */
    #e3f7ff 35%,  /* very light sea blue */
    #fdf5e6 100%  /* soft sand */
  );
  color: #1f2933;
}

/* Layout helpers */
.main-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
}

/* Header & banner */
.site-header {
  /* Light sky/sea tint instead of plain white */
  background: linear-gradient(
    180deg,
    #f3f8ff 0%,
    #edf9ff 60%,
    #f8fbff 100%
  );
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
  margin-bottom: 1.25rem;
}

.banner-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.banner-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Intro / mission */
.intro {
  max-width: 900px;
  margin: 0.75rem auto 1rem;
  padding: 0 1rem 1rem;
  text-align: center;
  /* Soft white card over pastel background */
  background: rgba(255, 255, 255, 0.96);
  border-radius: 0.9rem;
  border: 1px solid rgba(203, 213, 225, 0.7);
}

.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: #1d4ed8; /* coastal blue */
}

.tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f766e; /* soft sea green instead of purple */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.mission {
  font-size: 0.98rem;
  color: #374151;
}

/* Section title / intro */
.sites-section {
  margin-top: 0.75rem;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  text-align: left;
  color: #0f172a;
}

.section-intro {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 0.9rem;
}

/* Cards grid (mobile first) */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* At ~600px, use two columns */
@media (min-width: 600px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* At ~900px, use three columns */
@media (min-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Individual site cards */
.site-card {
  /* Slightly warmer, clearer card */
  background: rgba(255, 255, 255, 0.98);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
  border: 1px solid rgba(226, 232, 240, 0.9); /* soft border so they pop a bit more */
}

.site-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
  border-color: #bfdbfe; /* gentle sky-blue hover outline */
}

/* Card image – keeps a nice visual focus */
.site-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* Card content */
.site-card-body {
  padding: 0.75rem 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-name {
  font-size: 1rem;
  font-weight: 700;
}

/* Multiple URLs per site */
.site-links {
  list-style: none;
  margin: 0.1rem 0 0.1rem;
}

.site-links li + li {
  margin-top: 0.1rem;
}

.site-links a {
  font-size: 0.85rem;
  text-decoration: none;
  color: #2563eb;
  word-break: break-all;
}

.site-links a:hover,
.site-links a:focus {
  text-decoration: underline;
}

/* Description */
.site-description {
  font-size: 0.86rem;
  color: #4b5563;
}

/* Footer */
.site-footer {
  background: #0b1220; /* deep, slightly softer navy */
  color: #e5e7eb;
  margin-top: 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 1rem 1.25rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer-inner a {
  color: #fbbf77; /* warmer sand-gold */
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus {
  text-decoration: underline;
}

.footer-brand {
  font-weight: 600;
}

.footer-contact,
.footer-global-pledge {
  margin-top: 0.2rem;
}
