
:root{
  --black:#080c0e;
  --panel:#10171a;
  --panel2:#141c20;
  --cream:#f4f0e7;
  --gold:#e2a426;
  --gold2:#efb63d;
  --line:#31383c;
  --white:#f7f7f4;
  --muted:#b9bcbb;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:#111;
  background:var(--cream);
  overflow-x:auto;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

/* Full-width fluid page: this is the main zoom fix. */
.wrap{
  width:100%;
  max-width:none;
  margin:0;
  padding-left:clamp(24px,2.4vw,54px);
  padding-right:clamp(24px,2.4vw,54px);
}

/* On desktop, keep the desktop composition even when browser zoom reduces CSS viewport.
   This prevents the page from suddenly switching layouts when CMD+ is used. */
@media (min-width:769px){
  body{min-width:1120px}
}

/* HEADER */
.site-header{
  position:sticky;top:0;z-index:100;
  background:var(--black);
  color:#fff;
  border-bottom:1px solid #222a2e;
}
.nav{
  min-height:56px;
  display:flex;
  align-items:center;
  gap:clamp(14px,1.45vw,28px);
}
.brand{
  display:flex;align-items:center;gap:10px;
  min-width:max-content;
  font-weight:900;
  letter-spacing:.055em;
  font-size:clamp(13px,1vw,19px);
}
.brand img{width:38px;height:38px;object-fit:contain}
.brand .brotherhood{color:var(--gold2)}
.navlinks{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:clamp(11px,1.15vw,22px);
  white-space:nowrap;
  font-size:clamp(8px,.68vw,12px);
  font-weight:900;
  letter-spacing:.025em;
}
.navlinks a:hover{color:var(--gold2)}
.join-btn,.gold-btn{
  display:inline-block;
  background:linear-gradient(#f0bd54,#d89a17);
  color:#111;
  border:1px solid #f5c35c;
  font-weight:900;
}
.join-btn{
  margin-left:clamp(8px,1vw,18px);
  padding:11px clamp(14px,1.35vw,24px);
  white-space:nowrap;
  font-size:clamp(9px,.72vw,12px);
}
.gold-btn{padding:13px 20px}
.outline-btn{
  display:inline-block;
  padding:12px 20px;
  color:#fff;
  border:1px solid var(--gold2);
  font-weight:900;
}
.menu-btn{display:none}

/* HERO */
.hero{background:var(--black);color:#fff}
.hero-frame{
  position:relative;
  width:100%;
  height:clamp(335px,24.5vw,440px);
  overflow:hidden;
  background:#080c0e;
}
.hero-photo{
  position:absolute;
  right:0;top:0;
  width:59%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  z-index:1;
}
.hero-frame::after{
  content:"";
  position:absolute;inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      #080c0e 0%,
      #080c0e 23%,
      rgba(8,12,14,.97) 31%,
      rgba(8,12,14,.72) 45%,
      rgba(8,12,14,.12) 62%,
      rgba(8,12,14,.02) 100%);
}
.hero-grid{
  position:absolute;inset:0;z-index:3;
  display:grid;
  grid-template-columns:25% 42% 33%;
  align-items:center;
}
.hero-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.hero-logo img{
  width:min(77%,330px);
  max-height:88%;
  object-fit:contain;
  filter:drop-shadow(0 14px 20px rgba(0,0,0,.55));
}
.hero-copy{padding:0 2vw 0 .5vw}
.eyebrow{
  color:var(--gold2);
  text-transform:uppercase;
  font-size:clamp(10px,.78vw,14px);
  letter-spacing:.2em;
  font-weight:900;
}
.hero h1,.page-hero h1,.events-head h2,.section-head h2,.content-card h3,.sidebox h3{
  font-family:Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif;
}
.hero h1{
  margin:8px 0 8px;
  font-size:clamp(42px,4vw,72px);
  line-height:.93;
  letter-spacing:.005em;
}
.tagline{
  font-size:clamp(13px,1.22vw,20px);
  letter-spacing:.2em;
  white-space:nowrap;
}
.quote{
  margin-top:20px;
  font-size:clamp(13px,1.08vw,18px);
  line-height:1.35;
}
.hero-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:18px}
.hero-side{
  align-self:end;
  justify-self:end;
  padding:0 4.2vw 3.2vw 0;
  text-align:right;
  font-family:Georgia,serif;
  font-style:italic;
  font-weight:700;
  font-size:clamp(19px,1.75vw,31px);
  line-height:1.2;
  text-shadow:0 2px 12px #000;
}

/* SIX FEATURE TILES */
.feature-strip{
  width:100%;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  background:var(--panel);
  color:#fff;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.feature{
  min-width:0;
  min-height:148px;
  padding:18px clamp(8px,1vw,17px);
  text-align:center;
  border-right:1px solid #30383c;
}
.feature:last-child{border-right:0}
.feature-icon{width:35px;height:35px;object-fit:contain;margin:0 auto 8px}
.feature h3{
  font-family:Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif;
  margin:0 0 7px;
  font-size:clamp(15px,1.18vw,20px);
  letter-spacing:.035em;
}
.feature p{
  margin:0 auto 9px;
  max-width:240px;
  color:#e4e4e1;
  font-size:clamp(9px,.72vw,12px);
  line-height:1.35;
  min-height:32px;
}
.mini-link{color:var(--gold2);font-weight:900;font-size:clamp(8px,.66vw,11px)}

/* HOME CONTENT */
.main-grid{
  display:grid;
  grid-template-columns:1.04fr 1fr 1fr 1fr;
  gap:8px;
  padding:8px 0 4px;
  align-items:stretch;
}
.events-card,.approved-card,.plain-card{
  background:#fff;
  border:1px solid #ddd;
  overflow:hidden;
  min-width:0;
}
.events-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 12px;
  gap:10px;
}
.events-head h2,.section-head h2{
  margin:0;
  font-size:clamp(20px,1.55vw,28px);
  letter-spacing:.03em;
}
.events-head a,.section-head a{font-size:clamp(9px,.7vw,12px)}
.event{padding:9px 11px;border-top:1px solid #ddd}
.event-inner{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 18px;
  gap:10px;
  align-items:center;
}
.datebox{background:#eee;text-align:center;padding:5px 3px}
.datebox b{display:block;font-size:20px}
.datebox span{font-size:8px;font-weight:900}
.event h4{margin:0 0 2px;font-size:clamp(10px,.75vw,13px)}
.event p{margin:0;color:#555;font-size:clamp(8px,.62vw,10px);line-height:1.3}
.event-arrow{font-size:18px}
.clickable-row{display:block}
.clickable-row:hover .event{background:#faf5e9}

.approved-card{aspect-ratio:1.62/1}
.approved-card a,.approved-card img{width:100%;height:100%}
.approved-card img{object-fit:cover}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:14px;
  padding:6px 0 5px;
}
.section-head p{margin:3px 0 0;font-size:clamp(9px,.72vw,12px)}

.merch-social{
  display:grid;
  grid-template-columns:minmax(0,4.25fr) minmax(260px,1.15fr);
  gap:10px;
  padding-bottom:10px;
}
.merch-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:5px;
}
.approved-product{
  background:#fff;
  border:1px solid #ddd;
  overflow:hidden;
  min-width:0;
}
.approved-product img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.approved-merch .approved-product{aspect-ratio:1.33/1}

.side-stack{display:grid;grid-template-rows:1fr 1fr;gap:8px}
.sidebox{
  background:#fff;
  border:1px solid #ddd;
  padding:12px 14px;
}
.sidebox h3{margin:0 0 5px;font-size:clamp(20px,1.45vw,26px)}
.sidebox p{margin:0;font-size:clamp(9px,.7vw,12px);line-height:1.35}
.social-icon-row{display:flex;gap:10px;margin-top:10px;align-items:center}
.social-icon-row img{width:32px;height:32px}
.sidebox .gold-btn{margin-top:9px;padding:9px 13px;font-size:10px}

/* FOOTER */
.site-footer{
  background:var(--black);
  color:#fff;
  padding:16px 0;
}
.footer-grid{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:18px;
  align-items:center;
}
.footer-grid .right{text-align:right}
.footer-links{
  display:flex;
  justify-content:center;
  gap:clamp(8px,.9vw,16px);
  white-space:nowrap;
  font-size:clamp(7px,.55vw,10px);
}
.small{font-size:10px;color:#aaa}

/* INTERNAL PAGES */
.page-hero{
  background:var(--black);
  color:#fff;
  padding:55px clamp(24px,3vw,54px) 46px;
}
.page-hero .wrap{padding:0}
.page-hero h1{
  margin:5px 0 10px;
  font-size:clamp(42px,4vw,64px);
  letter-spacing:.02em;
}
.page-hero p{max-width:820px;color:#ddd;line-height:1.6}
.content-section{padding:42px 0}
.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.content-card{background:#fff;border:1px solid #ddd;padding:22px;min-width:0}
.content-card h3{font-size:27px;margin:0 0 8px}
.content-card p{line-height:1.55;color:#444}
.scripture{color:#996710;font-weight:900;font-size:12px;text-transform:uppercase}
.lesson-card-link{display:block}
.lesson-cover{width:calc(100% + 44px);max-width:none;margin:-22px -22px 18px;aspect-ratio:16/9;object-fit:cover}
.lesson-body{max-width:980px}
.lesson-body h2{font-family:Impact,sans-serif;font-size:34px;margin:34px 0 10px}
.lesson-body p,.lesson-body li{line-height:1.7}
.question-box{background:#fff5d8;border-left:5px solid var(--gold);padding:18px 22px;margin:22px 0}
.lesson-meta{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0 28px}
.pill{border:1px solid #ccc;background:#fff;padding:7px 10px;font-size:12px;font-weight:800}

.about-long{max-width:1040px}
.about-long h2{font-family:Impact,sans-serif;font-size:42px;margin:50px 0 12px}
.about-long h3{font-family:Impact,sans-serif;font-size:30px;margin:28px 0 8px}
.about-long p{font-family:Georgia,serif;font-size:18px;line-height:1.72;color:#292929}
.about-long blockquote{border-left:5px solid var(--gold);margin:24px 0;padding:8px 0 8px 22px;font-family:Georgia,serif;font-size:19px}

.detail-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.75fr);gap:20px}
.detail-card{background:#fff;border:1px solid #ddd;padding:28px}
.detail-side{background:var(--panel);color:#fff;padding:24px}
.detail-side h3{font-family:Impact,sans-serif;font-size:26px}
.detail-side a{color:var(--gold2);font-weight:900}

.notice{background:#fff4d3;border-left:5px solid var(--gold);padding:18px 20px;margin:20px 0}
.payment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.payment{background:#fff;border:1px solid #ddd;padding:20px}
.form{display:grid;gap:12px}
.form input,.form textarea,.form select{width:100%;padding:13px;border:1px solid #bbb;font:inherit}
.form textarea{min-height:140px}

/* TRUE MOBILE ONLY */
@media(max-width:768px){
  body{min-width:0;overflow-x:hidden}
  .wrap{padding-left:14px;padding-right:14px}
  .nav{min-height:58px}
  .navlinks{display:none}
  .join-btn{display:none}
  .menu-btn{display:block;margin-left:auto;background:none;border:1px solid #444;color:#fff;padding:8px 10px}
  .brand{font-size:13px}.brand img{width:38px;height:38px}

  .hero-frame{height:auto;min-height:640px}
  .hero-photo{width:100%;height:275px;top:auto;bottom:0;opacity:.92}
  .hero-frame::after{background:linear-gradient(#080c0e 0%,#080c0e 52%,rgba(8,12,14,.82) 68%,rgba(8,12,14,.10) 100%)}
  .hero-grid{position:relative;display:block;padding-top:24px}
  .hero-logo img{width:160px}
  .hero-copy{text-align:center;padding:4px 18px}
  .hero h1{font-size:48px}
  .tagline{white-space:normal;font-size:13px;letter-spacing:.13em}
  .hero-actions{justify-content:center}
  .hero-side{display:none}

  .feature-strip{grid-template-columns:1fr 1fr}
  .feature{min-height:155px}

  .main-grid{grid-template-columns:1fr;gap:8px}
  .approved-card{aspect-ratio:auto}
  .approved-card img{height:auto;object-fit:contain}

  .merch-social{grid-template-columns:1fr}
  .merch-grid{grid-template-columns:1fr 1fr}
  .approved-merch .approved-product{aspect-ratio:auto}
  .approved-product img{height:auto}

  .footer-grid{grid-template-columns:1fr;text-align:center}
  .footer-grid .right{text-align:center}
  .footer-links{white-space:normal;flex-wrap:wrap}

  .card-grid,.payment-grid,.detail-grid{grid-template-columns:1fr}
  .page-hero{padding:42px 14px 35px}
}


/* V6.2: exact approved artwork, no regeneration/cropping logic */
.exact-hero{
  background:#080c0e;
  width:100%;
}
.exact-hero-wrap{
  position:relative;
  width:100%;
  line-height:0;
}
.exact-hero-wrap > img{
  display:block;
  width:100%;
  height:auto;
  max-width:none;
}

/* Transparent clickable areas aligned to the buttons baked into the approved hero image. */
.hero-hotspot{
  position:absolute;
  display:block;
  z-index:5;
}
.hero-join{
  left:29.0%;
  top:85.0%;
  width:12.8%;
  height:10.5%;
}
.hero-story{
  left:42.6%;
  top:85.0%;
  width:10.7%;
  height:10.5%;
}

/* Exact approved merch strip. */
.exact-merch{
  display:block !important;
}
.exact-merch a{
  display:block;
  width:100%;
}
.exact-merch img{
  display:block;
  width:100%;
  height:auto;
  max-width:none;
}

/* Prevent old product sizing rules from affecting the exact row. */
.exact-merch .approved-product,
.exact-merch .product{
  display:none !important;
}

@media(max-width:680px){
  .exact-hero-wrap > img{
    width:100%;
    height:auto;
  }
  .hero-join{
    left:29.0%;
    top:85.0%;
    width:12.8%;
    height:10.5%;
  }
  .hero-story{
    left:42.6%;
    top:85.0%;
    width:10.7%;
    height:10.5%;
  }
}


/* V6.3 final two bug fixes */

/* Prayer / Praise / Support: always scale the whole approved image.
   Never crop the image or its embedded text/buttons. */
.main-grid .approved-card{
  height:auto !important;
  aspect-ratio:auto !important;
  overflow:hidden;
}
.main-grid .approved-card a{
  display:block;
  width:100%;
  height:auto;
}
.main-grid .approved-card img{
  display:block;
  width:100% !important;
  height:auto !important;
  max-width:100% !important;
  object-fit:contain !important;
}

/* Let the row shrink proportionally without text colliding across cards. */
.main-grid{
  align-items:start !important;
}
.main-grid > *{
  min-width:0;
}

/* At narrower desktop/tablet widths, use two columns rather than squeezing
   the three image cards until their baked-in text is unreadable. */
@media (max-width:1050px) and (min-width:681px){
  .main-grid{
    grid-template-columns:1fr 1fr !important;
  }
}

/* On mobile, stack cleanly. */
@media (max-width:680px){
  .main-grid{
    grid-template-columns:1fr !important;
  }
}


/* V6.5 clean merch architecture */
.merch-cards{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:6px;
}
.merch-card{
  background:#fff;
  border:1px solid #ddd;
  min-width:0;
  overflow:hidden;
}
.merch-image{
  background:#f2efe8;
  aspect-ratio:1.28/1;
  display:flex;
  align-items:center;
  justify-content:center;
}
.merch-image img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.merch-info{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:9px 10px;
  background:#fff;
}
.merch-info strong{
  font-size:11px;
  text-transform:uppercase;
}
.merch-info span{
  background:#efb63d;
  color:#111;
  padding:6px 8px;
  font-size:9px;
  font-weight:900;
  white-space:nowrap;
}
.merch-page-grid{
  padding-top:28px;
  padding-bottom:40px;
}

@media(max-width:900px){
  .merch-cards{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:680px){
  .merch-cards{grid-template-columns:1fr 1fr}
}


/* V6.7 homepage image-tile update */
.image-feature-strip{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:0;
  background:#0f171a;
  border-top:1px solid #30383c;
  border-bottom:1px solid #30383c;
}
.image-feature{
  display:flex;
  flex-direction:column;
  min-width:0;
  background:#0f171a;
  border-right:1px solid #30383c;
}
.image-feature:last-child{border-right:0}
.image-feature img{
  width:100%;
  height:auto;
  aspect-ratio:1.5/1;
  object-fit:cover;
  display:block;
}
.image-feature-link{
  display:block;
  padding:12px 8px 13px;
  text-align:center;
  color:#efb63d;
  background:#0f171a;
  font-family:Arial,Helvetica,sans-serif;
  font-size:11px;
  font-weight:900;
  letter-spacing:.02em;
  line-height:1;
  white-space:nowrap;
}
.image-feature:hover .image-feature-link{
  color:#fff;
}
.events-only-home{
  padding:10px 0 14px;
}
.events-only-home .events-card{
  width:100%;
}
@media(max-width:1050px){
  .image-feature-strip{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:680px){
  .image-feature-strip{grid-template-columns:1fr 1fr}
  .image-feature-link{font-size:10px;padding:10px 6px 12px}
}


/* ======================================================
   V6.8 Homepage Revision
   Matches the approved revised homepage layout:
   live nav, hero artwork, scripture banner, 3x2 card grid.
   ====================================================== */

.revision-home{
  background:#0d1315;
  color:#fff;
}
.revision-hero,
.revision-scripture{
  width:100%;
  line-height:0;
  background:#0a0e10;
}
.revision-hero img,
.revision-scripture img{
  width:100%;
  height:auto;
  display:block;
  max-width:none;
}

/* Three columns on desktop, matching the approved mockup. */
.revision-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  padding:18px;
  background:linear-gradient(#0f1719,#0c1214);
}
.revision-card{
  background:#101719;
  border:1px solid #394044;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-width:0;
}
.revision-card img{
  display:block;
  width:100%;
  height:auto;
  max-width:none;
}
.revision-card a{
  margin:0 15%;
  margin-top:0;
  margin-bottom:18px;
  padding:13px 10px;
  border:2px solid #e1a327;
  color:#f0bd51;
  background:#0f1517;
  text-align:center;
  font-family:Arial,Helvetica,sans-serif;
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  line-height:1;
}
.revision-card a:hover{
  background:#e1a327;
  color:#111;
}

/* Slightly stronger footer separation to match the revision. */
.revision-home + .site-footer{
  border-top:1px solid #3b4245;
}

/* Tablet */
@media(max-width:980px){
  .revision-cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    padding:14px;
  }
  .revision-card a{
    margin-left:12%;
    margin-right:12%;
  }
}

/* Mobile */
@media(max-width:620px){
  .revision-cards{
    grid-template-columns:1fr;
    gap:12px;
    padding:12px;
  }
  .revision-card a{
    margin-left:10%;
    margin-right:10%;
    margin-bottom:15px;
  }
}
