/* Royal Harvest Ministries — revamp stylesheet
   Palette drawn from the ministry crest: royal purple + harvest gold on ivory. */
:root{
  --purple:#36004e;
  --purple-deep:#22002f;
  --purple-ink:#2a0038;
  --gold:#e9a62e;
  --gold-bright:#f4b400;
  --gold-soft:#f7cf7d;
  --cream:#fdfbf7;
  --paper:#ffffff;
  --ink:#2b2230;
  --muted:#6f6475;
  --line:#ece5dd;
  --shadow:0 18px 45px rgba(54,0,78,.10);
  --shadow-lg:0 30px 70px rgba(34,0,47,.22);
  --radius:18px;
  --serif:'Playfair Display',Georgia,'Times New Roman',serif;
  --sans:'Manrope',-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--sans);color:var(--ink);background:var(--cream);line-height:1.7;font-size:17px;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--purple);text-decoration:none}
a:hover{color:#57137a}
.container{max-width:1200px;margin:0 auto;padding:0 24px}
h1,h2,h3,h4{font-family:var(--serif);font-weight:700;line-height:1.18;color:var(--purple-ink)}
.section{padding:104px 0}
.section.tight{padding:72px 0}
.eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.22em;font-size:.78rem;font-weight:800;color:var(--gold);margin-bottom:14px}
.eyebrow.purple{color:var(--purple)}
.heading{max-width:760px;margin:0 auto 54px;text-align:center}
.heading.left{margin-left:0;text-align:left}
.heading h2{font-size:clamp(2rem,4.4vw,3rem);margin-bottom:14px}
.heading p.lead{color:var(--muted);font-size:1.08rem}
.btn{display:inline-flex;align-items:center;gap:10px;background:var(--purple);color:#fff;font-weight:700;font-size:.98rem;padding:15px 34px;border-radius:999px;border:1px solid var(--purple);transition:.3s;letter-spacing:.01em}
.btn:hover{background:#57137a;color:#fff;transform:translateY(-2px);box-shadow:0 14px 30px rgba(54,0,78,.28)}
.btn.gold{background:var(--gold);border-color:var(--gold);color:#2a1503}
.btn.gold:hover{background:var(--gold-bright);color:#2a1503}
.btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.65)}
.btn.ghost:hover{background:rgba(255,255,255,.12);color:#fff}
.btn.light{background:#fff;color:var(--purple);border-color:#fff}
.btn.light:hover{background:var(--gold-soft);color:var(--purple-ink)}

/* ---------- Top bar ---------- */
.topbar{background:var(--purple-deep);color:#e9dff2;font-size:.86rem}
.topbar .container{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:9px;padding-bottom:9px;flex-wrap:wrap}
.topbar a{color:#f3e9d2}
.topbar a:hover{color:var(--gold-soft)}
.topbar .tb-group{display:flex;gap:26px;align-items:center;flex-wrap:wrap}
.topbar .tb-item{display:inline-flex;gap:8px;align-items:center}
.topbar svg{width:15px;height:15px;fill:var(--gold)}
.socials{display:flex;gap:16px;list-style:none}
.socials a{display:inline-flex;color:#e9dff2}
.socials a:hover{color:var(--gold)}
.socials svg{width:16px;height:16px;fill:#e9dff2;transition:.25s}
.socials a:hover svg{fill:var(--gold)}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:100;background:rgba(253,251,247,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:12px;padding-bottom:12px}
.brand{display:flex;align-items:center;gap:14px}
.brand img{width:62px;height:62px;border-radius:50%;object-fit:cover;box-shadow:0 6px 18px rgba(54,0,78,.25)}
.brand .brand-name{font-family:var(--serif);font-size:1.28rem;font-weight:800;color:var(--purple-ink);line-height:1.1}
.brand .brand-sub{display:block;font-family:var(--sans);font-size:.68rem;font-weight:800;letter-spacing:.34em;text-transform:uppercase;color:var(--gold)}
.main-nav ul{display:flex;gap:30px;list-style:none;align-items:center}
.main-nav a{font-size:.92rem;font-weight:700;color:var(--ink);letter-spacing:.02em;padding:6px 0;border-bottom:2px solid transparent}
.main-nav a:hover,.main-nav a.active{color:var(--purple);border-color:var(--gold)}
.header-cta{display:flex;align-items:center;gap:14px}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;padding:8px}
.nav-toggle span{display:block;width:26px;height:2px;background:var(--purple-ink);margin:6px 0;transition:.3s}
.mobile-nav{display:none;background:#fff;border-bottom:1px solid var(--line)}
.mobile-nav.open{display:block}
.mobile-nav ul{list-style:none;padding:10px 24px 20px}
.mobile-nav li{border-bottom:1px solid var(--line)}
.mobile-nav li:last-child{border-bottom:0}
.mobile-nav a{display:block;padding:13px 4px;font-weight:700;color:var(--ink)}

/* ---------- Hero ---------- */
.hero{position:relative;min-height:92vh;display:flex;align-items:center;color:#fff;overflow:hidden;background:var(--purple-deep)}
.hero video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(34,0,47,.88) 0%,rgba(54,0,78,.66) 46%,rgba(54,0,78,.28) 100%)}
.hero .container{position:relative;z-index:2;padding-top:90px;padding-bottom:90px}
.hero h1{color:#fff;font-size:clamp(2.6rem,6.4vw,4.6rem);max-width:820px;margin-bottom:20px}
.hero h1 em{font-style:italic;color:var(--gold-soft)}
.hero .hero-sub{font-size:clamp(1.05rem,2.2vw,1.35rem);color:#f0e7f7;max-width:620px;margin-bottom:38px;font-weight:500}
.hero .hero-btns{display:flex;gap:16px;flex-wrap:wrap}
.hero .scroll-cue{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);z-index:2;color:rgba(255,255,255,.75);font-size:.72rem;letter-spacing:.3em;text-transform:uppercase}

/* Page hero (interior) */
.page-hero{position:relative;color:#fff;padding:150px 0 110px;background-size:cover;background-position:center;overflow:hidden}
.page-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(95deg,rgba(34,0,47,.9),rgba(54,0,78,.55))}
.page-hero .container{position:relative;z-index:2}
.page-hero h1{color:#fff;font-size:clamp(2.3rem,5.4vw,3.9rem);max-width:840px;margin-bottom:16px}
.page-hero p{color:#efe6f7;font-size:1.15rem;max-width:640px;margin-bottom:30px}

/* Rotating hero (ministries) */
.rotator{position:relative;min-height:88vh;display:flex;align-items:center;color:#fff;overflow:hidden;background:var(--purple-deep)}
.rotator .slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1.4s ease}
.rotator .slide.on{opacity:1}
.rotator::after{content:"";position:absolute;inset:0;background:linear-gradient(95deg,rgba(34,0,47,.88),rgba(54,0,78,.45));z-index:1}
.rotator .slide-copy{position:relative;z-index:2;display:none}
.rotator .slide-copy.on{display:block}
.rotator h1{color:#fff;font-size:clamp(2.4rem,5.6vw,4.2rem);margin-bottom:16px;max-width:760px}
.rotator p{color:#f0e7f7;font-size:1.25rem;margin-bottom:32px}

/* ---------- Cards ---------- */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.pillar{border-radius:var(--radius);padding:44px 36px;color:#fff;box-shadow:var(--shadow);position:relative;overflow:hidden}
.pillar h3{color:#fff;font-size:1.55rem;margin-bottom:14px;letter-spacing:.04em}
.pillar p{color:rgba(255,255,255,.92);margin-bottom:22px}
.pillar a{color:#fff;font-weight:800;border-bottom:2px solid rgba(255,255,255,.55);padding-bottom:2px}
.pillar a:hover{border-color:#fff;color:#fff}
.pillar.gold-bg{background:linear-gradient(150deg,#f0b73c,var(--gold))}
.pillar.gold-bg h3,.pillar.gold-bg p,.pillar.gold-bg a{color:#33200a;border-color:rgba(51,32,10,.4)}
.pillar.charcoal-bg{background:linear-gradient(150deg,#4a4444,#3c3737)}
.pillar.purple-bg{background:linear-gradient(150deg,#4d1470,var(--purple))}
.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}
.card img{height:230px;width:100%;object-fit:cover}
.card .card-body{padding:30px 30px 34px;display:flex;flex-direction:column;gap:12px;flex:1}
.card h3{font-size:1.35rem}
.card p{color:var(--muted);flex:1}
.card .btn{align-self:flex-start;margin-top:8px}

/* Split sections */
.split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.split .media img{border-radius:var(--radius);box-shadow:var(--shadow-lg);width:100%;height:100%;object-fit:cover}
.split h2{font-size:clamp(1.9rem,3.8vw,2.7rem);margin-bottom:18px}
.split p{color:var(--muted);margin-bottom:16px}
.checklist{list-style:none;margin:18px 0 6px}
.checklist li{padding:9px 0 9px 34px;position:relative;font-weight:600;color:var(--ink);border-bottom:1px dashed var(--line)}
.checklist li:last-child{border-bottom:0}
.checklist li::before{content:"";position:absolute;left:2px;top:15px;width:16px;height:9px;border-left:3px solid var(--gold);border-bottom:3px solid var(--gold);transform:rotate(-45deg)}

/* Accordion */
.accordion details{background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:14px;overflow:hidden}
.accordion summary{cursor:pointer;list-style:none;padding:22px 26px;font-family:var(--serif);font-size:1.22rem;font-weight:700;color:var(--purple-ink);display:flex;justify-content:space-between;align-items:center;gap:16px}
.accordion summary::-webkit-details-marker{display:none}
.accordion summary::after{content:"+";font-family:var(--sans);font-weight:300;font-size:1.7rem;color:var(--gold);line-height:1}
.accordion details[open ] summary::after{content:"–"}
.accordion details[open ] summary{color:var(--purple)}
.accordion .acc-body{padding:0 26px 24px;color:var(--muted)}

/* Harvest HQ feature */
.hq{background:#f6f1ea;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.hq-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:60px;align-items:start}
.impact-strip{display:flex;gap:18px;margin:30px 0 34px;flex-wrap:wrap}
.impact-item{background:#fff;border-radius:14px;padding:22px 24px;flex:1;min-width:200px;box-shadow:var(--shadow)}
.impact-item h3{font-size:1.7rem;color:var(--purple);margin-bottom:4px}
.impact-item p{font-weight:700;color:var(--ink);line-height:1.45}
.impact-item span{display:block;font-size:.85rem;color:var(--muted);font-weight:500}
.impact-item.highlight{background:var(--purple)}
.impact-item.highlight h3,.impact-item.highlight p{color:#fff}
.impact-item.highlight span{color:#d9c6ec}
.room-card{background:#fff;border-radius:var(--radius);padding:32px;box-shadow:var(--shadow);margin-bottom:22px}
.room-card h4{font-size:1.25rem;color:var(--purple);margin-bottom:12px}
.room-card ul{list-style:none}
.room-card li{padding:11px 0;border-bottom:1px solid var(--line);font-size:1.02rem;font-weight:600}
.room-card li:last-child{border-bottom:0}
.trust-card{background:#ece4f3;border-radius:var(--radius);padding:28px 32px;color:#453154;font-size:1.02rem;line-height:1.65}
.phone-frame{margin-top:26px;background:#17101d;border-radius:34px;padding:12px;box-shadow:var(--shadow-lg);max-width:320px}
.phone-frame video{width:100%;border-radius:24px;display:block}
.phone-frame figcaption{color:#cbb9dd;text-align:center;font-size:.82rem;padding:12px 6px 6px;letter-spacing:.06em;text-transform:uppercase}

/* Band with background image */
.band{position:relative;color:#fff;background-size:cover;background-position:center}
.band::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(34,0,47,.92),rgba(54,0,78,.62))}
.band .container{position:relative;z-index:2}
.band h2{color:#fff}
.band .tick-list{list-style:none;margin-top:22px}
.band .tick-list li{padding:10px 0 10px 34px;position:relative;font-weight:600;font-size:1.05rem;border-bottom:1px solid rgba(255,255,255,.16)}
.band .tick-list li:last-child{border-bottom:0}
.band .tick-list li::before{content:"";position:absolute;left:2px;top:17px;width:16px;height:9px;border-left:3px solid var(--gold);border-bottom:3px solid var(--gold);transform:rotate(-45deg)}
.partner-logos{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin-top:10px}
.partner-logos a{background:#fff;border-radius:14px;padding:16px 22px;display:inline-flex;box-shadow:var(--shadow)}
.partner-logos img{height:64px;width:auto}

/* Gallery */
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.gallery figure{border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}
.gallery img{width:100%;height:230px;object-fit:cover;transition:transform .6s ease}
.gallery figure:hover img{transform:scale(1.06)}

/* Give page */
.give-hero{position:relative;padding:130px 0 110px;background-size:cover;background-position:center}
.give-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(34,0,47,.82),rgba(54,0,78,.55))}
.give-card{position:relative;z-index:2;background:rgba(255,255,255,.97);border-radius:26px;max-width:580px;margin:0 auto;padding:52px 46px;text-align:center;box-shadow:var(--shadow-lg)}
.give-card h1{font-size:clamp(1.9rem,4.4vw,2.6rem);margin-bottom:14px}
.give-card .hope{color:var(--muted);font-size:1.12rem;margin-bottom:32px}
.qr-frame{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;display:inline-block;box-shadow:var(--shadow)}
.qr-frame img{width:200px;height:200px;object-fit:contain}
.or-pill{display:inline-block;background:#f3eee6;color:var(--muted);font-weight:800;font-size:.85rem;letter-spacing:.14em;padding:7px 22px;border-radius:999px;margin:26px 0}
.give-actions{display:flex;flex-direction:column;gap:14px;align-items:center}
.give-actions .btn{width:100%;justify-content:center}
.give-actions .btn img{height:22px;width:auto}
.declaration{background:linear-gradient(120deg,#fdf3d7,#fbe3ae 55%,#f7cf7d);text-align:center}
.declaration h2{font-size:clamp(2.1rem,5.6vw,3.6rem);text-transform:uppercase;letter-spacing:.01em;color:#7c2d12;background:linear-gradient(90deg,#9a3412,#c2410c,#e9a62e);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.declaration p{color:#57442a;font-size:1.15rem;max-width:720px;margin:16px auto 0}
.declaration .blessing{font-style:italic;color:#6d5836;margin-top:10px}

/* Forms */
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.field{display:flex;flex-direction:column;gap:7px}
.field.full{grid-column:1/-1}
.field label{font-weight:700;font-size:.9rem;color:var(--purple-ink)}
.field input,.field textarea,.field select{font-family:var(--sans);font-size:1rem;padding:14px 16px;border:1px solid #ddd3e6;border-radius:12px;background:#fff;color:var(--ink);width:100%}
.field input:focus,.field textarea:focus{outline:2px solid var(--gold);border-color:transparent}
.subscribe-form{display:flex;gap:10px;flex-wrap:wrap}
.subscribe-form input{flex:1;min-width:220px;padding:14px 18px;border-radius:999px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.1);color:#fff;font-family:var(--sans);font-size:.98rem}
.subscribe-form input::placeholder{color:#cdbede}

/* Legal pages */
.legal{max-width:860px;margin:0 auto}
.legal h2{font-size:1.5rem;margin:38px 0 12px;color:var(--purple)}
.legal h2:first-child{margin-top:0}
.legal p{color:#463d4e;margin-bottom:14px}
.legal ul{margin:0 0 16px 22px;color:#463d4e}
.legal li{margin-bottom:7px}
.legal-nav{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-bottom:44px}
.legal-nav a{padding:10px 22px;border-radius:999px;border:1px solid var(--line);background:#fff;font-weight:700;font-size:.92rem}
.legal-nav a.current{background:var(--purple);color:#fff;border-color:var(--purple)}

/* Social story cards */
.story-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:38px 28px;text-align:center;box-shadow:var(--shadow);transition:.3s}
.story-card:hover{transform:translateY(-5px)}
.story-card svg{width:44px;height:44px;fill:var(--purple);margin:0 auto 14px}
.story-card h3{font-size:1.25rem}

/* Contact cards */
.contact-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:40px 32px;text-align:center;box-shadow:var(--shadow)}
.contact-card .ic{width:70px;height:70px;border-radius:50%;background:var(--purple);display:flex;align-items:center;justify-content:center;margin:0 auto 18px}
.contact-card .ic svg{width:30px;height:30px;fill:var(--gold-soft)}
.contact-card h3{margin-bottom:8px;font-size:1.3rem}
.contact-card p,.contact-card a{color:var(--muted);font-weight:600}

/* ---------- Footer ---------- */
.site-footer{background:linear-gradient(160deg,var(--purple-ink),var(--purple-deep));color:#ddd0ea;margin-top:0}
.footer-top{padding:84px 0 10px}
.footer-grid{display:grid;grid-template-columns:1.25fr .8fr 1fr;gap:52px}
.site-footer h3{color:#fff;font-size:1.2rem;margin-bottom:20px}
.site-footer p{color:#c9b8da;font-size:.98rem}
.footer-brand img{width:92px;height:92px;border-radius:50%;object-fit:cover;margin-bottom:18px;box-shadow:0 10px 26px rgba(0,0,0,.35)}
.footer-links{list-style:none}
.footer-links li{padding:7px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-links li:last-child{border-bottom:0}
.footer-links a{color:#ddd0ea;font-weight:600}
.footer-links a:hover{color:var(--gold-soft)}
.footer-contact{list-style:none}
.footer-contact li{display:flex;gap:12px;padding:8px 0;align-items:flex-start}
.footer-contact svg{width:17px;height:17px;fill:var(--gold);flex:none;margin-top:5px}
.footer-contact a{color:#ddd0ea;font-weight:600}
.footer-social{padding:34px 0 6px;border-top:1px solid rgba(255,255,255,.1);margin-top:44px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.footer-social .socials svg{width:19px;height:19px}
.subscribe-band{padding:44px 0;border-top:1px solid rgba(255,255,255,.1);margin-top:30px;display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}
.subscribe-band h3{margin-bottom:6px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:24px 0 30px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:.9rem;color:#b7a4cc}
.footer-bottom .policies{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.footer-bottom a{color:#ddd0ea;font-weight:600}
.footer-bottom a:hover{color:var(--gold-soft)}
.footer-bottom .sep{opacity:.4}

/* Reveal animation */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .8s ease,transform .8s ease}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}html{scroll-behavior:auto}}

/* ---------- Responsive ---------- */
@media(max-width:1024px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .gallery{grid-template-columns:repeat(3,1fr)}
  .hq-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:860px){
  .main-nav{display:none}
  .nav-toggle{display:block}
  .header-cta .btn{padding:12px 22px}
  .split{grid-template-columns:1fr;gap:36px}
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .section{padding:72px 0}
  .subscribe-band{grid-template-columns:1fr}
}
@media(max-width:560px){
  body{font-size:16px}
  .grid-4{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .gallery img{height:170px}
  .footer-grid{grid-template-columns:1fr}
  .topbar .container{justify-content:center;text-align:center}
  .hero{min-height:88vh}
  .brand .brand-name{font-size:1.08rem}
  .brand img{width:50px;height:50px}
  .give-card{padding:40px 26px}
  .form-grid{grid-template-columns:1fr}
  .impact-strip{flex-direction:column}
}
