/* The Schoonees Foundation — site styles */

:root {
  --dusk: #16283c;
  --dusk-deep: #0e1c2c;
  --amber: #e0912f;
  --amber-soft: #f3c580;
  --cream: #faf7f1;
  --ink: #2b3542;
  --ink-soft: #5a6674;
  --line: #e5ddd0;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  padding: 1.25rem 0;
}

.site-header.solid {
  position: static;
  background: var(--dusk);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand img { display: block; width: 190px; }

.site-nav {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  opacity: 0.85;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}

.site-nav a:hover { opacity: 1; }

.site-nav a[aria-current="page"] {
  opacity: 1;
  border-bottom-color: var(--amber);
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(rgba(14, 28, 44, 0.35), rgba(14, 28, 44, 0.15) 40%, rgba(14, 28, 44, 0.45)),
    url("../images/sunset.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 7rem 1.5rem 5rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 1.75rem;
  text-shadow: 0 2px 24px rgba(14, 28, 44, 0.5);
}

.hero blockquote {
  max-width: 44rem;
  margin: 0 auto;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.8;
  font-weight: 300;
  text-shadow: 0 1px 16px rgba(14, 28, 44, 0.6);
}

.hero blockquote footer {
  margin-top: 1rem;
  font-style: normal;
  font-weight: 400;
  color: var(--amber-soft);
  letter-spacing: 0.06em;
}

.hero .tagline {
  margin-top: 3rem;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* ---------- Page hero (subpages) ---------- */

.page-hero {
  background: var(--dusk);
  color: #fff;
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0;
}

.page-hero p {
  max-width: 40rem;
  margin: 1rem auto 0;
  color: var(--amber-soft);
  font-weight: 300;
}

/* ---------- Content ---------- */

main.content {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4.5rem;
}

main.content h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  margin: 2.5rem 0 0.75rem;
  color: var(--dusk);
}

main.content h2:first-child { margin-top: 0; }

main.content .lede {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--dusk);
}

.scripture {
  border-left: 3px solid var(--amber);
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink-soft);
}

.scripture footer {
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--amber);
}

/* ---------- Cards (home pillars) ---------- */

.pillars {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
}

.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(22, 40, 60, 0.1);
}

.pillar h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 0.6rem;
  color: var(--dusk);
}

.pillar p { margin: 0; color: var(--ink-soft); font-size: 0.975rem; }

.pillar .more {
  display: inline-block;
  margin-top: 1.1rem;
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ---------- Contact ---------- */

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 2rem;
}

.contact-card .email {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--dusk);
  text-decoration: none;
  border-bottom: 2px solid var(--amber);
}

.contact-card .email:hover { color: var(--amber); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dusk-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 300;
}

.site-footer img { width: 150px; margin-bottom: 1.25rem; opacity: 0.9; }

.site-footer .mission {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--amber-soft);
  margin-bottom: 0.75rem;
}

.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.site-footer .fine { margin-top: 1.5rem; opacity: 0.5; font-size: 0.8rem; }

@media (max-width: 640px) {
  .brand img { width: 160px; }
  .site-nav { gap: 1.1rem; }
  .hero { min-height: 88vh; padding-top: 9rem; }
}
