
:root{
  --ink:#173127; --forest:#1d5a3a; --leaf:#5f9d58; --lime:#cbe86b;
  --sand:#f3efe4; --cream:#fbfaf5; --white:#fff; --muted:#6c7a71;
  --shadow:0 24px 70px rgba(19,54,38,.14);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Manrope,system-ui,sans-serif;color:var(--ink);background:var(--cream);line-height:1.6}
img{display:block;width:100%;height:100%;object-fit:cover}
a{text-decoration:none;color:inherit}
.container{width:min(1180px,calc(100% - 40px));margin:auto}
.site-header{position:fixed;top:0;left:0;right:0;z-index:20;background:rgba(251,250,245,.88);backdrop-filter:blur(16px);border-bottom:1px solid rgba(23,49,39,.08)}
.nav-wrap{height:78px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:1.1rem}
.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--forest);color:white;font-size:.9rem}
.site-nav{display:flex;align-items:center;gap:28px;font-weight:600;font-size:.94rem}
.site-nav a:hover{color:var(--forest)}
.nav-cta{padding:11px 18px;background:var(--ink);color:white;border-radius:999px}
.menu-toggle{display:none;border:0;background:transparent;font:inherit;font-weight:700}
.hero{min-height:94vh;position:relative;display:flex;align-items:center;background:url("assets/hero-earth.jpeg") center/cover no-repeat;color:white}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,30,20,.83) 0%,rgba(8,30,20,.60) 45%,rgba(8,30,20,.18) 100%)}
.hero-content{position:relative;padding-top:90px;max-width:1180px}
.eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.16em;font-size:.74rem;font-weight:800;color:var(--lime);margin-bottom:16px}
.eyebrow.dark{color:var(--forest)}
.hero h1,.section h2,.feature-copy h2,.cta h2{font-family:"Playfair Display",serif;line-height:1.06;margin:0}
.hero h1{font-size:clamp(3.4rem,8vw,7rem);max-width:820px}
.hero p{max-width:700px;font-size:1.16rem;color:rgba(255,255,255,.88)}
.hero-actions{display:flex;gap:14px;margin:30px 0 48px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border-radius:999px;border:0;font-weight:800;cursor:pointer}
.btn-primary{background:var(--lime);color:var(--ink)}
.btn-ghost{border:1px solid rgba(255,255,255,.55);color:white}
.hero-stats{display:flex;gap:55px;border-top:1px solid rgba(255,255,255,.28);padding-top:24px;max-width:700px}
.hero-stats div{display:flex;flex-direction:column}
.hero-stats strong{font-size:1.2rem}.hero-stats span{font-size:.83rem;color:rgba(255,255,255,.75)}
.section{padding:110px 0}
.split{display:grid;grid-template-columns:1.05fr .95fr;gap:72px;align-items:center}
.section h2,.feature-copy h2,.cta h2{font-size:clamp(2.4rem,5vw,4.4rem)}
.intro-copy p,.section-heading p,.feature-copy p,.use-case-wrap p{color:var(--muted);font-size:1.05rem}
.pill-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.pill-row span{padding:9px 14px;border:1px solid #d8ded7;border-radius:999px;background:white;font-size:.88rem;font-weight:700}
.image-card{position:relative;height:520px;border-radius:28px;overflow:hidden;box-shadow:var(--shadow)}
.image-label{position:absolute;left:18px;bottom:18px;padding:10px 14px;background:rgba(255,255,255,.9);border-radius:999px;font-weight:800}
.process{background:var(--sand)}
.section-heading{max-width:760px;margin-bottom:48px}.section-heading.light{color:white}
.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.step{background:white;border-radius:22px;padding:26px;min-height:260px;transition:.25s transform}
.step:hover{transform:translateY(-6px)}
.step span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--sand);font-weight:800}
.step h3{margin:28px 0 8px}.step p{font-size:.9rem;color:var(--muted)}
.feature-band{background:var(--forest);color:white}
.feature-grid{display:grid;grid-template-columns:1.05fr .95fr;min-height:620px}
.feature-image{margin-left:calc((100vw - min(1180px,calc(100vw - 40px)))/-2);overflow:hidden}
.feature-copy{padding:100px 0 100px 75px;align-self:center}
.feature-copy p{color:rgba(255,255,255,.76)}
.text-link{display:inline-block;margin-top:16px;font-weight:800;color:var(--lime)}
.impact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.impact-grid article{background:white;padding:28px;border-radius:20px;border:1px solid #e6e9e3}
.icon{font-size:1.7rem}.impact-grid h3{margin:12px 0 8px}.impact-grid p{color:var(--muted);margin:0}
.gallery{background:#102b20;color:white}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:260px;gap:14px}
.gallery-grid figure{position:relative;margin:0;overflow:hidden;border-radius:18px}
.gallery-grid .wide{grid-column:span 2}
.gallery-grid figcaption{position:absolute;left:14px;bottom:14px;background:rgba(10,25,18,.7);padding:8px 11px;border-radius:10px;font-size:.84rem}
.gallery-grid img{transition:transform .45s}.gallery-grid figure:hover img{transform:scale(1.05)}
.use-list{display:grid;gap:12px;margin-top:28px}
.use-list span{padding:14px 0;border-bottom:1px solid #dfe4dd;font-weight:700}
.image-stack{position:relative;min-height:560px}
.stack-main{width:78%;height:500px;border-radius:26px;box-shadow:var(--shadow)}
.stack-small{position:absolute;width:48%;height:280px;right:0;bottom:0;border:8px solid var(--cream);border-radius:22px;box-shadow:var(--shadow)}
.cta{background:var(--sand)}
.cta-box{background:var(--ink);color:white;border-radius:30px;padding:58px;display:grid;grid-template-columns:1fr 1fr;gap:55px}
.cta-box p{color:rgba(255,255,255,.72)}
.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.contact-form input,.contact-form textarea{width:100%;border:0;border-radius:12px;padding:14px;background:rgba(255,255,255,.1);color:white;font:inherit;outline:1px solid rgba(255,255,255,.1)}
.contact-form textarea{grid-column:1/-1;min-height:110px;resize:vertical}
.contact-form button{grid-column:1/-1;justify-self:start}
footer{background:#0b1f17;color:white;padding:70px 0 28px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1.3fr;gap:40px}
.footer-grid>div{display:flex;flex-direction:column;gap:10px}
.footer-grid p,.footer-grid a,.footer-grid span{color:rgba(255,255,255,.65)}
.footer-brand span{color:white}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:44px;padding-top:22px;color:rgba(255,255,255,.5);font-size:.86rem}
@media(max-width:900px){
  .site-nav{display:none;position:absolute;top:78px;left:20px;right:20px;background:white;padding:24px;border-radius:18px;box-shadow:var(--shadow);flex-direction:column;align-items:flex-start}
  .site-nav.open{display:flex}.menu-toggle{display:block}
  .split,.feature-grid,.cta-box{grid-template-columns:1fr}
  .steps{grid-template-columns:repeat(2,1fr)}
  .feature-image{margin:0;height:420px}.feature-copy{padding:70px 0}
  .impact-grid{grid-template-columns:repeat(2,1fr)}
  .gallery-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .container{width:min(100% - 26px,1180px)}
  .hero{min-height:880px}.hero h1{font-size:3.4rem}
  .hero-actions,.hero-stats{flex-direction:column}.hero-stats{gap:18px}
  .section{padding:78px 0}.steps,.impact-grid{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:1fr;grid-auto-rows:240px}.gallery-grid .wide{grid-column:span 1}
  .image-card{height:380px}.image-stack{min-height:460px}.stack-main{height:400px}
  .cta-box{padding:34px 24px}.contact-form{grid-template-columns:1fr}.contact-form textarea,.contact-form button{grid-column:1}
  .footer-grid{grid-template-columns:1fr}
}


/* Multi-page additions */
.page-hero{
  min-height:430px;
  display:flex;
  align-items:end;
  padding:150px 0 75px;
  color:#fff;
  background:
    linear-gradient(90deg,rgba(8,30,20,.88),rgba(8,30,20,.42)),
    url("assets/earth2.jpeg") center/cover no-repeat;
}
.page-hero h1{
  font-family:"Playfair Display",serif;
  font-size:clamp(3rem,7vw,5.7rem);
  line-height:1.04;
  margin:0 0 18px;
  max-width:900px;
}
.page-hero p{
  max-width:760px;
  font-size:1.08rem;
  color:rgba(255,255,255,.82);
}
.site-nav a.active{
  color:var(--forest);
  font-weight:800;
}
.page-intro{
  max-width:820px;
}
.breadcrumb{
  display:inline-block;
  margin-bottom:14px;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.75rem;
  font-weight:800;
  color:var(--lime);
}
.content-note{
  background:#edf5e8;
  border-left:4px solid var(--forest);
  padding:20px 22px;
  border-radius:12px;
  margin-top:28px;
}
@media(max-width:600px){
  .page-hero{min-height:380px;padding:130px 0 55px}
}


/* Global EarthRevive watermark */
body {
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("assets/logo.png");
  background-repeat: no-repeat;
  background-position: center 58%;
  background-size: min(54vw, 680px) auto;
  opacity: 0.045;
  filter: grayscale(100%);
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  body::before {
    background-size: min(72vw, 540px) auto;
    background-position: center 55%;
    opacity: 0.04;
  }
}

@media (max-width: 600px) {
  body::before {
    background-size: 88vw auto;
    background-position: center 52%;
    opacity: 0.035;
  }
}

/* Earth Revive header logo */
.header-logo{width:54px;height:54px;object-fit:contain;border-radius:10px;flex:0 0 auto}.brand-name{font-weight:800;font-size:1.08rem;white-space:nowrap}@media(max-width:600px){.header-logo{width:44px;height:44px}.brand-name{font-size:.98rem}}
