@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700&family=Lora:wght@400;500&display=swap');

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

body{
  background:#fff;
  color:#222;
  font:17px/1.7 'Nunito Sans',system-ui,sans-serif;
}

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

/* Mobile hamburger nav */
.nav-toggle{
  display:none;
  background:none;
  border:none;
  color:inherit;
  font-size:26px;
  cursor:pointer;
  padding:4px 8px;
  line-height:1;
}

/* ---- Header (over hero) ---- */
header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  padding:20px 48px;
  position:absolute;
  top:0;left:0;right:0;
  z-index:10;
}

header>a{
  font-size:18px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#fff;
}

.header-right{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

nav{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  align-items:center;
}

nav a{
  font-size:12px;
  font-weight:600;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:rgba(255,255,255,0.9);
  transition:color 0.2s;
}

nav a:hover{color:#fff}

.header-cta{
  display:inline-block;
  padding:8px 18px;
  font-size:11px;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:#fff;
  border:1px solid #fff;
  border-radius:999px;
  transition:background 0.2s,color 0.2s;
}

.header-cta:hover{background:#fff;color:#222}

/* ---- Hero ---- */
.hero{
  position:relative;
  height:560px;
  overflow:hidden;
  background:#111;
}

.hero img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:brightness(0.55);
}

.hero-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-overlay h1{
  font-size:64px;
  font-weight:700;
  letter-spacing:6px;
  text-transform:uppercase;
  color:#fff;
  text-align:center;
  text-shadow:0 2px 20px rgba(0,0,0,0.45);
}

/* ---- Social icons row: outlined squares on light ---- */
.social-row{
  display:flex;
  justify-content:center;
  gap:14px;
  padding:28px 48px;
  background:#fff;
}

.social-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;height:40px;
  border-radius:2px;
  background:transparent;
  color:#555;
  font-size:15px;
  border:1px solid #bbb;
  transition:background 0.2s,color 0.2s,border-color 0.2s;
}

.social-btn:hover{background:#4075bf;color:#fff;border-color:#4075bf}

/* ---- Main content sections ---- */
main{
  max-width:1100px;
  margin:auto;
  padding:48px 48px 64px;
  background:#fff;
}

.content-section{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center;
  margin-bottom:64px;
  padding-bottom:64px;
  border-bottom:1px solid #e6e6e6;
}

.content-section:last-of-type{border-bottom:0;margin-bottom:0}

/* TAKE ACTION: text-left / image-right via DOM order + reverse helper */
.content-section.reverse{
  direction:ltr;
}

.content-image img{
  width:100%;
  height:320px;
  object-fit:cover;
  display:block;
}

.content-text h2{
  font-size:13px;
  font-weight:700;
  letter-spacing:3px;
  text-transform:uppercase;
  color:#999;
  margin-bottom:12px;
}

.content-text p{
  font-family:'Lora',Georgia,serif;
  font-size:18px;
  color:#333;
  margin-bottom:24px;
  line-height:1.7;
}

/* Solid blue rounded pill CTAs */
.cta-btn{
  display:inline-block;
  padding:12px 26px;
  font-size:12px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#fff;
  background:#4075bf;
  border:0;
  border-radius:999px;
  transition:background 0.2s;
}

.cta-btn:hover{background:#2f5fa0;color:#fff}

/* ---- Footer ---- */
.site-footer{
  background:#1a1a1a;
  padding:40px 48px;
}

.footer-inner{
  max-width:1100px;
  margin:auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  text-align:center;
}

.footer-inner > a{
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#aaa;
  text-decoration:underline;
}

.footer-inner > a:hover{color:#fff}

.footer-social{
  display:flex;
  gap:18px;
}

.footer-social a{
  color:#888;
  font-size:16px;
  transition:color 0.2s;
}

.footer-social a:hover{color:#4075bf}

img{max-width:100%}

@media(max-width:768px){
  header{position:relative;padding:20px;background:#1f1f1f}
  .header-right{display:none}
  .nav-toggle{display:block;color:#fff}
  .header-right.open{
    display:flex;
    flex-direction:column;
    position:absolute;
    top:100%;left:0;right:0;
    background:#1f1f1f;
    border-top:1px solid #333;
    padding:16px 20px;
    gap:12px;
    z-index:200;
  }
  .header-right.open .header-cta{align-self:flex-start;margin-top:4px}
  .hero{height:380px}
  .hero-overlay h1{font-size:36px;letter-spacing:4px}
  .content-section{grid-template-columns:1fr}
  main{padding:40px 20px}
  .site-footer{padding:24px 20px}
}


/* ---- Content-page header (no hero behind it) ---- */
header.page-header {
  position: relative;
  background: #1f1f1f;
  padding: 16px 48px;
}

/* ---- Page title bar ---- */
.page-title-bar {
  padding: 48px 0 32px;
  text-align: center;
}

.page-title-bar h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #222;
}

/* ---- Gallery 3-column grid ---- */
section.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 0 48px;
}

section.gallery figure {
  overflow: hidden;
  cursor: pointer;
  margin: 0;
}

section.gallery figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

section.gallery figure:hover img {
  transform: scale(1.05);
}

section.gallery figcaption {
  display: none;
}

/* ---- Take Action layout ---- */
.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e6e6e6;
}

.action-col h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 12px;
}

.action-col p {
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 20px;
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.donate-section {
  padding-top: 16px;
}

.donate-item {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #f0f0f0;
}

.donate-item:last-child { border-bottom: 0; }

.donate-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.donate-item h3 a {
  color: #4075bf;
}

.donate-item p {
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  color: #444;
}

/* ---- About page sections ---- */
.page-heading {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e6e6e6;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e6e6e6;
}

/* reverse: DOM order already puts text first → text left, image right */

.about-section:last-of-type {
  border-bottom: 0;
}

.about-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.about-text h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 16px;
}

.about-text p {
  font-family: 'Lora', Georgia, serif;
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 16px;
}

.about-text a {
  color: #4075bf;
  text-decoration: underline;
}

.connect-box {
  margin-top: 48px;
  padding: 32px;
  background: #f8f8f8;
  border-left: 4px solid #4075bf;
  text-align: center;
}

.connect-box h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 8px;
}

.connect-box a {
  font-size: 18px;
  color: #4075bf;
  text-decoration: underline;
}

/* ---- My Writing portfolio buttons ---- */
.portfolio-btns {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e6e6e6;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.dark-btn {
  display: inline-block;
  padding: 12px 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: #333;
  border-radius: 999px;
  transition: background 0.2s;
}

.dark-btn:hover { background: #111; color: #fff; }

/* ---- Copy section base styles ---- */
.copy {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.copy h1 { font-size: 28px; margin-bottom: 24px; }
.copy h2 { font-size: 20px; margin: 32px 0 8px; color: #222; }
.copy h3 { font-size: 17px; margin: 20px 0 6px; }
.copy h3 a { color: #4075bf; text-decoration: underline; }
.copy p { margin-bottom: 14px; line-height: 1.7; }
.copy ul { padding-left: 24px; margin-bottom: 14px; }
.copy li { margin-bottom: 6px; line-height: 1.6; }
.copy strong { font-weight: 600; }
.copy em { font-style: italic; }

@media (max-width: 768px) {
  .action-grid { grid-template-columns: 1fr; }
  .about-section { grid-template-columns: 1fr; }
  section.gallery { grid-template-columns: repeat(2, 1fr); }
  header.page-header { padding: 16px 20px; }
  .copy { padding: 32px 16px 48px; }
}
