/*
Theme Name: King David Lodge
Theme URI: https://princehallnetwork.org/
Author: Prince Hall Network
Description: Custom King David Lodge master template for the Prince Hall Network.
Version: 1.0.0
Text Domain: king-david-lodge
*/

:root{
    --navy-950:#0B1626;
    --navy-800:#16273F;
    --navy-700:#1E3352;
    --brass-500:#B8892B;
    --brass-300:#D9B569;
    --brass-100:#EFDFB8;
    --parchment:#F2EEE1;
    --parchment-2:#EAE3D0;
    --ink:#1C1A16;
    --slate:#5B5A52;
    --line:#D9D2BC;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Work Sans', sans-serif;
    color:var(--ink);
    background:var(--parchment);
    line-height:1.6;
  }
  h1,h2,h3,.display{
    font-family:'Fraunces', serif;
    font-weight:500;
    letter-spacing:-0.01em;
  }
  a{color:inherit; text-decoration:none;}
  img{max-width:100%; display:block;}
  .wrap{max-width:1120px; margin:0 auto; padding:0 32px;}

  /* NAV */
  header{
    position:sticky; top:0; z-index:50;
    background:var(--navy-950);
    border-bottom:1px solid rgba(216,181,105,0.18);
  }
  nav.wrap{
    display:flex; align-items:center; justify-content:space-between;
    height:76px;
  }
  .brand{display:flex; align-items:center; gap:12px;}
  .brand-mark{width:38px; height:38px; flex-shrink:0;}
  .brand-text{font-family:'Fraunces', serif; color:var(--parchment); font-size:17px; line-height:1.2;}
  .brand-text small{display:block; font-family:'Work Sans', sans-serif; font-size:11px; color:var(--brass-300); font-weight:500; margin-top:2px;}
  .nav-links{display:flex; gap:34px; align-items:center;}
  .nav-links a{color:var(--parchment); font-size:14.5px; font-weight:500; opacity:0.85; transition:opacity .15s;}
  .nav-links a:hover{opacity:1;}
  .nav-cta{
    background:var(--brass-500); color:var(--navy-950)!important;
    padding:10px 20px; border-radius:2px; font-weight:600!important;
    opacity:1!important;
  }
  .nav-toggle{display:none; background:none; border:none; color:var(--parchment); font-size:26px; cursor:pointer;}

  /* HERO */
  .hero{
    background:linear-gradient(180deg, var(--navy-950) 0%, var(--navy-800) 100%);
    color:var(--parchment);
    padding:100px 0 110px;
    position:relative;
    overflow:hidden;
  }
  .hero .wrap{display:grid; grid-template-columns:1.15fr 0.85fr; gap:64px; align-items:center;}
  .eyebrow-line{color:var(--brass-300); font-size:14.5px; font-weight:500; margin-bottom:22px;}
  .hero h1{font-size:52px; line-height:1.06; max-width:11ch;}
  .hero-sub{font-size:17px; color:#C9CFDA; max-width:46ch; margin:22px 0 34px;}
  .btn-row{display:flex; gap:16px; flex-wrap:wrap;}
  .btn{
    display:inline-block; padding:14px 26px; font-weight:600; font-size:14.5px;
    border-radius:2px; transition:transform .15s ease, background .15s ease;
  }
  .btn-primary{background:var(--brass-500); color:var(--navy-950);}
  .btn-primary:hover{background:var(--brass-300); transform:translateY(-1px);}
  .btn-ghost{border:1px solid rgba(242,238,225,0.35); color:var(--parchment);}
  .btn-ghost:hover{border-color:var(--brass-300); color:var(--brass-300);}

  .seal-frame{
    justify-self:center; width:280px; height:280px;
    border:1px solid rgba(216,181,105,0.35); border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    background:radial-gradient(circle, rgba(216,181,105,0.06) 0%, transparent 70%);
  }

  .tagline-strip{
    background:var(--navy-700); border-top:1px solid rgba(216,181,105,0.18);
  }
  .tagline-strip .wrap{
    display:flex; justify-content:center; align-items:center; gap:0;
    padding:20px 32px; flex-wrap:wrap;
  }
  .tagline-strip span{
    color:var(--brass-100); font-family:'Fraunces', serif; font-size:16px; font-weight:500;
    padding:0 22px; position:relative;
  }
  .tagline-strip span:not(:last-child)::after{
    content:''; position:absolute; right:0; top:50%; transform:translateY(-50%);
    width:4px; height:4px; background:var(--brass-500); border-radius:50%;
  }

  /* SECTION SHELL */
  section{padding:96px 0;}
  .section-head{max-width:640px; margin-bottom:52px;}
  .section-head .kicker{color:var(--brass-500); font-size:14px; font-weight:600; margin-bottom:12px;}
  .section-head h2{font-size:34px; color:var(--navy-950); line-height:1.15;}
  .section-head p{color:var(--slate); font-size:16px; margin-top:16px; max-width:56ch;}

  /* WELCOME / ABOUT */
  .about{background:var(--parchment);}
  .about-grid{display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:start;}
  .pull{
    border-left:3px solid var(--brass-500); padding-left:26px;
    font-family:'Fraunces', serif; font-size:22px; line-height:1.45; color:var(--navy-950);
  }
  .about-body p{color:var(--slate); margin-bottom:16px; font-size:15.5px;}
  .about-body p:last-child{margin-bottom:0;}

  /* PILLARS */
  .pillars{background:var(--navy-950); color:var(--parchment);}
  .pillars .section-head h2{color:var(--parchment);}
  .pillars .section-head p{color:#B7BFCC;}
  .pillar-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:1px; background:rgba(216,181,105,0.18); border:1px solid rgba(216,181,105,0.18);}
  .pillar{background:var(--navy-950); padding:38px 32px;}
  .pillar-icon{width:34px; height:34px; margin-bottom:22px;}
  .pillar h3{font-size:20px; color:var(--brass-300); margin-bottom:12px;}
  .pillar p{font-size:14.5px; color:#B7BFCC;}

  /* OFFICERS */
  .officers{background:var(--parchment-2);}
  .officer-grid{display:grid; grid-template-columns:repeat(4, 1fr); gap:28px;}
  .officer-card{background:var(--parchment); border:1px solid var(--line);}
  .officer-photo{aspect-ratio:1; background:linear-gradient(135deg, var(--navy-800), var(--navy-950)); display:flex; align-items:center; justify-content:center; color:var(--brass-300); font-family:'Fraunces',serif; font-size:13px; text-align:center; padding:12px;}
  .officer-info{padding:18px 20px 22px;}
  .officer-info .role{font-size:12.5px; color:var(--brass-500); font-weight:600; text-transform:uppercase; letter-spacing:0.04em; margin-bottom:6px;}
  .officer-info .name{font-family:'Fraunces', serif; font-size:17px; color:var(--navy-950);}

  /* EVENTS + NEWS SPLIT */
  .split{background:var(--parchment);}
  .split-grid{display:grid; grid-template-columns:1.1fr 0.9fr; gap:72px;}
  .list-item{display:flex; gap:20px; padding:22px 0; border-bottom:1px solid var(--line);}
  .list-item:first-child{padding-top:0;}
  .date-badge{
    flex-shrink:0; width:64px; text-align:center; border:1px solid var(--brass-500);
    padding:8px 0; color:var(--navy-950);
  }
  .date-badge .mon{display:block; font-size:11px; font-weight:600; color:var(--brass-500); letter-spacing:0.05em;}
  .date-badge .day{display:block; font-family:'Fraunces', serif; font-size:20px;}
  .list-item .body h4{font-size:16.5px; color:var(--navy-950); margin-bottom:4px;}
  .list-item .body p{font-size:14px; color:var(--slate);}

  .news-item{padding:20px 0; border-bottom:1px solid var(--line);}
  .news-item:first-child{padding-top:0;}
  .news-item .tag{font-size:12px; color:var(--brass-500); font-weight:600; text-transform:uppercase; letter-spacing:0.04em; margin-bottom:6px;}
  .news-item h4{font-size:16.5px; color:var(--navy-950); margin-bottom:6px;}
  .news-item p{font-size:14px; color:var(--slate);}

  /* COMMUNITY SERVICE */
  .service{background:var(--navy-800); color:var(--parchment);}
  .service-grid{display:grid; grid-template-columns:0.9fr 1.1fr; gap:70px; align-items:center;}
  .service-visual{aspect-ratio:4/3; background:linear-gradient(135deg, var(--navy-950), var(--navy-700)); border:1px solid rgba(216,181,105,0.25); display:flex; align-items:center; justify-content:center; color:var(--brass-300); font-family:'Fraunces',serif; font-size:14px; text-align:center; padding:20px;}
  .service .section-head h2{color:var(--parchment);}
  .service-body p{color:#C9CFDA; margin-bottom:16px; font-size:15.5px;}
  .stat-row{display:flex; gap:40px; margin-top:30px;}
  .stat .num{font-family:'Fraunces', serif; font-size:32px; color:var(--brass-300);}
  .stat .label{font-size:13px; color:#B7BFCC; margin-top:4px;}

  /* GALLERY */
  .gallery{background:var(--parchment);}
  .gallery-grid{display:grid; grid-template-columns:repeat(4, 1fr); gap:14px;}
  .gallery-grid div{aspect-ratio:1; background:var(--parchment-2); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; color:var(--slate); font-size:12px; text-align:center; padding:10px;}

  /* JOIN CTA */
  .join{
    background:linear-gradient(180deg, var(--navy-800) 0%, var(--navy-950) 100%);
    color:var(--parchment); text-align:center;
  }
  .join .wrap{max-width:680px;}
  .join h2{font-size:36px; margin-bottom:18px;}
  .join p{color:#C9CFDA; font-size:16px; margin-bottom:36px;}

  /* FOOTER */
  footer{background:var(--navy-950); color:#9DA6B4; padding:64px 0 32px; border-top:1px solid rgba(216,181,105,0.15);}
  .footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:48px; margin-bottom:48px;}
  .footer-col h4{color:var(--brass-300); font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:0.05em; margin-bottom:18px;}
  .footer-col p, .footer-col a{font-size:14px; color:#9DA6B4; display:block; margin-bottom:10px;}
  .footer-col a:hover{color:var(--brass-300);}
  .footer-brand p{color:#B7BFCC; font-size:14.5px; max-width:34ch; margin-top:14px;}
  .footer-bottom{border-top:1px solid rgba(157,166,180,0.15); padding-top:26px; display:flex; justify-content:space-between; font-size:13px; color:#6E7787; flex-wrap:wrap; gap:12px;}

  @media (max-width:860px){
    .nav-links{display:none;}
    .nav-toggle{display:block;}
    .hero .wrap{grid-template-columns:1fr;}
    .seal-frame{display:none;}
    .hero h1{font-size:38px; max-width:none;}
    .about-grid, .service-grid, .split-grid{grid-template-columns:1fr; gap:36px;}
    .pillar-grid{grid-template-columns:1fr;}
    .officer-grid{grid-template-columns:repeat(2, 1fr);}
    .gallery-grid{grid-template-columns:repeat(2, 1fr);}
    .footer-grid{grid-template-columns:1fr 1fr; gap:32px;}
    section{padding:64px 0;}
  }
