/* =========================================================
   KINGDOM ALLIANCE MINISTRIES
   SHARED BASE STYLES
   ========================================================= */

:root{
  --ink:#17131e;
  --purple:#23123d;
  --purple2:#371659;
  --violet:#6a34a3;
  --gold:#c99a45;
  --gold2:#e8c96f;
  --cream:#fbf7ef;
  --paper:#fffdf9;
  --muted:#746c7a;
  --line:#eadfce;
  --soft:#f5eee4;
  --shadow:0 28px 80px rgba(35,18,61,.16);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height:1.6;
}

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

img{
  display:block;
  max-width:100%;
}

button,
input,
textarea,
select{
  font:inherit;
}

.wrap{
  width:min(1180px,calc(100% - 40px));
  margin:auto;
}

.eyebrow{
  font-size:.76rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:800;
  color:var(--gold);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  min-height:52px;
  padding:0 22px;

  border-radius:12px;
  border:1px solid transparent;

  font-weight:800;
  cursor:pointer;
}

.btn-primary{
  background:
    linear-gradient(
      135deg,
      var(--gold2),
      var(--gold)
    );

  color:#241729;

  box-shadow:
    0 12px 30px rgba(201,154,69,.22);
}

.btn-secondary{
  border-color:rgba(255,255,255,.25);
  color:white;
  background:rgba(255,255,255,.06);
}

.btn-dark{
  background:var(--purple);
  color:white;
}

.btn-light{
  background:white;
  border-color:var(--line);
}


/* =========================================================
   HEADER / NAV
   ========================================================= */

header{
  position:sticky;
  top:0;
  z-index:100;

  background:rgba(24,14,41,.97);

  border-bottom:
    1px solid rgba(255,255,255,.08);
}

.nav{
  height:78px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:26px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;

  color:white;
}

.mark{
  width:42px;
  height:42px;

  border-radius:50%;

  display:grid;
  place-items:center;

  background:
    linear-gradient(
      135deg,
      var(--gold2),
      var(--gold)
    );

  color:var(--purple);
  font-size:22px;
}

.brand strong{
  display:block;

  font-family:Georgia,serif;
  font-size:1.04rem;
  line-height:1.1;
}

.brand small{
  display:block;

  color:#d5cadc;

  font-size:.69rem;
  letter-spacing:.12em;
  text-transform:uppercase;

  margin-top:4px;
}

.links{
  display:flex;
  align-items:center;

  gap:22px;

  color:#f4eef6;
  font-size:.92rem;
}

.links a.current{
  color:var(--gold2);
}

.menu-btn{
  display:none;

  border:0;
  background:none;

  color:white;
  font-size:28px;

  cursor:pointer;
}

.mobile-menu{
  display:none;

  background:#1a102c;

  padding:14px 20px 22px;
}

.mobile-menu.open{
  display:grid;
  gap:12px;
}

.mobile-menu a{
  color:white;
  padding:8px 0;
}


/* =========================================================
   GENERIC CONTENT
   ========================================================= */

section{
  padding:88px 0;
}

h1,
h2,
h3,
h4{
  margin-top:0;
}

h2{
  font:
    700 clamp(2.35rem,4vw,4.45rem)/1
    Georgia,serif;

  letter-spacing:-.035em;

  margin:10px 0 18px;
}

h3{
  font-family:Georgia,serif;
}

.lead{
  font-size:1.08rem;
  color:var(--muted);
  max-width:880px;
}


/* =========================================================
   GRIDS
   ========================================================= */

.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;

  gap:64px;
  align-items:center;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);

  gap:18px;
}

.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);

  gap:16px;
}


/* =========================================================
   CARDS
   ========================================================= */

.card{
  padding:28px;

  border:
    1px solid var(--line);

  border-radius:22px;

  background:white;

  box-shadow:
    0 14px 40px rgba(38,23,54,.05);
}

.card h3{
  font-size:1.4rem;
  margin:0 0 8px;
}

.card p{
  color:var(--muted);
  margin:0;
}

.icon{
  width:50px;
  height:50px;

  border-radius:15px;

  display:grid;
  place-items:center;

  background:#f4e9d7;

  color:var(--purple);

  font-size:22px;

  margin-bottom:18px;
}


/* =========================================================
   PHOTO CARDS
   ========================================================= */

.photo-card{
  border-radius:30px;
  overflow:hidden;

  box-shadow:var(--shadow);

  background:var(--cream);
}

.photo-card img{
  width:100%;
  height:100%;

  object-fit:cover;
}


/* =========================================================
   CTA
   ========================================================= */

.cta{
  padding:74px 0;

  background:
    linear-gradient(
      135deg,
      #f8f0e2,
      #fffaf2
    );
}

.cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:28px;
}

.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;

  margin-top:30px;
}


/* =========================================================
   FORMS
   ========================================================= */

.form{
  display:grid;
  gap:14px;
}

.form input,
.form textarea,
.form select{
  width:100%;

  border:
    1px solid var(--line);

  border-radius:14px;

  padding:14px 16px;

  background:white;
}

.form textarea{
  min-height:150px;
  resize:vertical;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer{
  background:#140c22;
  color:#cbbfd1;

  padding:46px 0;
}

.footer-grid{
  display:grid;

  grid-template-columns:
    1.3fr .7fr .7fr .7fr;

  gap:42px;
}

footer h4{
  color:white;

  margin:0 0 12px;
}

footer a{
  display:block;

  margin:7px 0;

  color:#cbbfd1;
}

.copyright{
  border-top:
    1px solid rgba(255,255,255,.1);

  margin-top:34px;
  padding-top:20px;

  font-size:.82rem;

  color:#918497;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:1100px){

  .links{
    gap:14px;
    font-size:.84rem;
  }

  .links .btn{
    padding-left:16px;
    padding-right:16px;
  }

}

@media(max-width:980px){

  .links{
    display:none;
  }

  .menu-btn{
    display:block;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .cta-inner{
    display:block;
  }

  .cta-inner .btn{
    margin-top:18px;
  }

}
