:root{
  --bg: #f7f3ee;
  --paper: #fffaf2;
  --ink: #2f2a25;
  --muted: #6b625b;
  --line: rgba(47,42,37,.14);
  --accent: #3a332e;
  --accent2: #7a5a3b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --max: 1100px;
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

img{ max-width: 100%; height: auto; display:block; }
a{ color: inherit; }
a:hover{ opacity: .92; }

.container{ max-width: var(--max); margin: 0 auto; padding: 0 18px; }

.topbar{
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 220px;
  text-decoration: none;
}
.brand img{ width: 68px; height: 68px; object-fit: contain; }
.brand .name{ font-weight: 700; font-size: 1.15rem; letter-spacing: .2px; }
.brand .tag{ color: var(--muted); font-size: 1rem; margin-top: 2px; }

.navlinks{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.navlinks a{
  padding: 8px 10px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
}
.navlinks a:hover{
  border-color: var(--line);
  text-decoration: none;
}
.navlinks a.active{
  background: rgba(47,42,37,.06);
}

.menuBtn{
  display:none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}

/* HERO */
.hero{
  position: relative;
  min-height: 420px;
  border-bottom: 1px solid var(--line);
  overflow:hidden;
  background: #000;
}

/* Key: show benches + keep pastor high + place him more right */
.hero img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: 65% 35%;
  opacity: 1;
  transform: scale(1);
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.12) 60%, rgba(0,0,0,.08));
}

.hero .inner{
  position: relative;
  z-index: 2;
  padding: 34px 0 26px;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  min-height: 440px;
}

/* smaller + more transparent so grandpa stays visible */
.heroCard{
  background: rgba(255,250,242,.55);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 12px 14px;
  max-width: 480px;
  margin-left: 0;
  margin-right: auto;
  backdrop-filter: blur(2px);
}

.heroCard h1{
  margin: 0 0 6px;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  text-shadow: 0 1px 0 rgba(255,255,255,.45);
}

.heroCard p{
  margin: 8px 0 0;
  color: #000000;
  font-size: 1.02rem;
}

.heroActions{ margin-top: 14px; display:flex; gap: 10px; flex-wrap: wrap; }

.btn{
  display:inline-block;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration:none;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
}
.btn:hover{ text-decoration:none; opacity: .9; }
.btn.primary{
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
.btn.secondary{
  background: transparent;
  border-color: var(--accent);
}

main{ padding: 34px 0 54px; }

.section{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin: 18px 0;
}

.section h2{ margin: 0 0 10px; font-size: 1.55rem; }
.section p{ margin: 10px 0; color: var(--muted); }

.grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items:start;
}
@media (max-width: 900px){
  .grid{ grid-template-columns: 1fr; }
}

.kicker{
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .88rem;
  color: var(--muted);
  margin: 0 0 10px;
}

.list{
  margin: 10px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
}
.list li{ margin: 8px 0; }

.callout{
  border-left: 4px solid rgba(122,90,59,.45);
  padding: 12px 14px;
  background: rgba(122,90,59,.06);
  border-radius: 12px;
}

.footer{
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
  font-size: .95rem;
}
.footer .footgrid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}
.footer a{ color: var(--muted); }
.footer a:hover{ color: var(--ink); }
@media (max-width: 900px){
  .footer .footgrid{ grid-template-columns: 1fr; }
}

.formRow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

input, textarea, select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
}
textarea{ min-height: 130px; resize: vertical; }

.smallnote{ font-size: .95rem; color: var(--muted); }

.donateBox{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
}
.amounts{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.amounts button{
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 14px;
  cursor:pointer;
  font-weight: 650;
}
.amounts button.active{
  border-color: var(--accent);
  outline: 2px solid rgba(47,42,37,.14);
}
.toggle{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.toggle button{
  flex: 1;
  min-width: 170px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 14px;
  cursor:pointer;
  font-weight: 650;
}
.toggle button.active{
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}

.center{ text-align: center; }

/* MOBILE (single, clean block) */
@media (max-width: 700px){
  .brand img{ width: 56px; height: 56px; }
  .brand .name{ font-size: 1.05rem; }
  .brand .tag{ font-size: .95rem; }

  .hero img{
    object-position: 74% 10%;
    transform: scale(0.98);
  }

  .hero .inner{
    padding: 28px 0 18px;
    min-height: 380px;
  }

  .heroCard{
    max-width: 92vw;
    background: rgba(255,250,242,.72);
    backdrop-filter: blur(1px);
  }

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

/* Rebuild call-to-action section */
.rebuild{
  border-color: rgba(122,90,59,.25);
  background: rgba(255,250,242,.92);
}

.rebuildGrid{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: center;
}

.rebuildMedia img{
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.rebuildText h2{
  margin-top: 0;
}

.rebuildText p{
  color: #4a433d;
}

@media (max-width: 900px){
  .rebuildGrid{ grid-template-columns: 1fr; }
}

/* Subtle support badge */
.support-link{
  position: relative;
}
.support-badge{
  margin-left: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .04em;
  background: rgba(122,90,59,.14);
  border: 1px solid rgba(122,90,59,.35);
  color: #5a4a3a;
}
@media (max-width: 700px){
  .support-badge{ display:none; }
}

/* Shop product + checkout */
.productGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.productMedia img{
  width:100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.priceRow{
  display:flex;
  align-items:center;
  gap: 12px;
  margin: 6px 0 10px;
  flex-wrap: wrap;
}
.price{
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: .2px;
}
.badge{
  display:inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .85rem;
  border: 1px solid rgba(47,42,37,.14);
}
.badge-green{
  background: rgba(34, 139, 34, .12);
  border-color: rgba(34, 139, 34, .35);
  color: #1f6d1f;
  font-weight: 650;
}

.expressRow{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(47,42,37,.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 12px 0 14px;
}
.checkline{
  display:flex;
  align-items:center;
  gap: 10px;
  color: var(--ink);
}
.checkline input{ width:auto; }

.totalLine{ color: var(--ink); }

.checkout{ scroll-margin-top: 90px; }
.orderForm label{ display:block; margin-top: 10px; font-weight: 650; }
.orderForm .formRow label{ margin-top: 0; }

.payBox{
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255,255,255,.55);
}
.paySummaryLine{
  display:flex;
  align-items:baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0;
  color: var(--muted);
}
.paySummaryLine strong{ color: var(--ink); }
.paySummaryLine.total{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.payButtons{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

@media (max-width: 900px){
  .productGrid{ grid-template-columns: 1fr; }
  .expressRow{ flex-direction: column; align-items: flex-start; }
}
