/* BLACK HAT HOMEPAGE - FINAL V5
   All rules here are homepage-specific. */

:root{
  --gold:#d7a52c;
  --gold-bright:#e2b34b;
  --white:#f2f2f2;
  --ui-font:"Oswald","Roboto Condensed","Arial Narrow",Arial,sans-serif;
}

.home-page{
  position:relative;
  min-height:100vh;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(35,35,35,.14), rgba(0,0,0,.66) 74%),
    url("../images/home/background-texture.jpg") center/cover no-repeat;
}

.home-page::before{
  content:"";
  display:block;
  padding-top:66.6667%;
}

.decor-layer{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:url("../images/home/gold-splatter-smokefree-v11.png") center/cover no-repeat;
}

/* Navigation */
.top-nav{
  position:absolute;
  z-index:20;
  top:27px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:44px;
  white-space:nowrap;
}

.top-nav>a,
.products-menu>button,
.legal-menu>button{
  position:relative;
  border:0;
  padding:10px 0 14px;
  background:transparent;
  color:var(--white);
  font-family:var(--ui-font);
  font-size:18px;
  font-weight:600;
  letter-spacing:.055em;
  cursor:pointer;
}

.top-nav>a:hover,
.products-menu>button:hover,
.legal-menu>button:hover,
.top-nav>a.active{
  color:var(--gold);
}

.top-nav>a.active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:4px;
  height:2px;
  background:var(--gold);
}

.products-menu{position:relative}

.products-menu>button{
  display:flex;
  align-items:center;
  gap:8px;
}

.products-menu>button svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
}

.products-dropdown{
  position:absolute;
  top:48px;
  left:-16px;
  display:none;
  min-width:180px;
  padding:7px;
  border:1px solid rgba(215,165,44,.55);
  background:rgba(0,0,0,.97);
  box-shadow:0 12px 24px rgba(0,0,0,.4);
}

.products-menu.open .products-dropdown{display:block}

.products-dropdown a{
  display:block;
  padding:11px 13px;
  font-family:var(--ui-font);
  font-size:14px;
  font-weight:600;
  letter-spacing:.045em;
}

.products-dropdown a:hover{
  color:var(--gold);
  background:rgba(215,165,44,.08);
}

/* Cart */
.cart{
  position:absolute;
  z-index:20;
  top:21px;
  right:4.3%;
  width:62px;
  height:62px;
  display:grid;
  place-items:center;
  border:1.7px solid var(--gold);
  border-radius:50%;
  color:var(--gold);
}

.cart svg{
  width:35px;
  height:35px;
  fill:none;
  stroke:currentColor;
  stroke-width:3.1;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.cart-count{
  position:absolute;
  top:-10px;
  right:-8px;
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--gold);
  color:#070707;
  font-weight:800;
}

/* Main branding */
.brand-hero{
  position:absolute;
  inset:0;
  z-index:8;
  pointer-events:none;
}

.skull-hat{
  position:absolute;
  top:8.5%;
  left:50%;
  width:33.5%;
  max-width:515px;
  transform:translateX(-50%);
}

.wordmark{
  position:absolute;
  top:49.5%;
  left:50%;
  width:49%;
  max-width:750px;
  transform:translateX(-50%);
}

/* Benefits */
.benefits{
  position:absolute;
  z-index:10;
  left:13.5%;
  right:13.5%;
  bottom:4.2%;
  display:grid;
  grid-template-columns:repeat(4,1fr);
}

.benefits article{
  min-height:132px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  text-align:center;
}

.benefits article+article{
  border-left:1px solid rgba(215,165,44,.72);
}

.benefit-icon{
  width:58px;
  height:58px;
  margin-bottom:12px;
  color:var(--gold-bright);
  fill:none;
  stroke:currentColor;
  stroke-width:2.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.benefits h2{
  margin:0;
  color:var(--gold);
  font-family:var(--ui-font);
  font-size:16px;
  font-weight:600;
  letter-spacing:.055em;
}

/* Mobile */
@media(max-width:900px){
  .home-page::before{padding-top:100vh}

  .top-nav{
    top:14px;
    left:18px;
    right:84px;
    transform:none;
    justify-content:flex-start;
    gap:22px;
    overflow-x:auto;
    scrollbar-width:none;
  }

  .top-nav::-webkit-scrollbar{display:none}

  .top-nav>a,
  .products-menu>button,
  .legal-menu>button{font-size:14px}

  .cart{
    top:12px;
    right:18px;
    width:50px;
    height:50px;
  }

  .cart svg{
    width:28px;
    height:28px;
  }

  .skull-hat{
  position:absolute;
  top:8.5%;
  left:50%;
  width:33.5%;
  max-width:515px;
  transform:translateX(-50%);
}

  .wordmark{
  position:absolute;
  top:49.5%;
  left:50%;
  width:49%;
  max-width:750px;
  transform:translateX(-50%);
}

  .benefits{
    left:18px;
    right:18px;
    bottom:18px;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
  }

  .benefits article{
    min-height:86px;
    border:1px solid rgba(215,165,44,.35)!important;
    background:rgba(0,0,0,.52);
  }

  .benefit-icon{
    width:40px;
    height:40px;
    margin-bottom:7px;
  }

  .benefits h2{font-size:13px}
}







/* =========================================================
   V14 RESPONSIVE LAYOUT CORRECTION
   Keeps the wide desktop design intact while preventing
   clipping/collapse on narrower desktop and tablet widths.
   ========================================================= */

/* Central branding is now treated as one responsive group. */
.brand-hero{
  position:absolute;
  z-index:8;
  top:6.8%;
  left:50%;
  width:min(54vw, 820px);
  height:auto;
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:clamp(10px, 1.4vw, 24px);
  pointer-events:none;
}

.skull-hat{
  position:static !important;
  width:min(61%, 500px) !important;
  max-width:none !important;
  height:auto;
  transform:none !important;
  filter:none;
  background:transparent;
  box-shadow:none;
}

.wordmark{
  position:static !important;
  width:min(100%, 760px) !important;
  max-width:none !important;
  height:auto;
  transform:none !important;
  filter:none;
  background:transparent;
  box-shadow:none;
}

/* Keep all four benefit items visible. */
.benefits{
  left:10%;
  right:10%;
  bottom:4%;
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.benefits article{
  min-width:0;
  padding:0 14px;
}

.benefits h2{
  white-space:normal;
  line-height:1.15;
}

/* Wide desktop / reference layout */
@media (min-width:1201px){
  .top-nav{
    gap:44px;
  }

  .brand-hero{
    top:6.8%;
    width:min(54vw, 820px);
    gap:clamp(12px, 1.2vw, 22px);
  }

  .skull-hat{
    width:min(60%, 500px) !important;
  }

  .wordmark{
    width:min(100%, 760px) !important;
  }
}

/* Narrow desktop */
@media (max-width:1200px) and (min-width:901px){
  .home-page::before{
    padding-top:75%;
  }

  .top-nav{
    top:18px;
    gap:24px;
    max-width:calc(100% - 150px);
  }

  .top-nav>a,
  .products-menu>button,
  .legal-menu>button{
    font-size:16px;
  }

  .cart{
    top:14px;
    right:22px;
    width:54px;
    height:54px;
  }

  .brand-hero{
    top:7.5%;
    width:min(62vw, 720px);
    gap:14px;
  }

  .skull-hat{
    width:min(56%, 410px) !important;
  }

  .wordmark{
    width:min(94%, 650px) !important;
  }

  .benefits{
    left:5%;
    right:5%;
    bottom:3.5%;
  }

  .benefits article{
    padding:0 8px;
  }

  .benefit-icon{
    width:46px;
    height:46px;
  }

  .benefits h2{
    font-size:13px;
  }
}

/* Tablet / narrow browser widths */
@media (max-width:900px){
  .home-page{
    min-height:100svh;
  }

  .home-page::before{
    padding-top:120vh;
  }

  .top-nav{
    top:10px;
    left:12px;
    right:76px;
    transform:none;
    display:flex;
    gap:18px;
    max-width:none;
    overflow-x:auto;
    scrollbar-width:none;
    padding-bottom:3px;
  }

  .top-nav::-webkit-scrollbar{
    display:none;
  }

  .top-nav>a,
  .products-menu>button,
  .legal-menu>button{
    flex:0 0 auto;
    font-size:14px;
    min-height:42px;
  }

  .cart{
    top:10px;
    right:14px;
    width:48px;
    height:48px;
  }

  .cart svg{
    width:27px;
    height:27px;
  }

  .brand-hero{
    top:9%;
    width:min(86vw, 620px);
    gap:10px;
  }

  .skull-hat{
    width:min(55%, 340px) !important;
  }

  .wordmark{
    width:min(96%, 590px) !important;
  }

  .benefits{
    left:18px;
    right:18px;
    bottom:18px;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:12px;
  }

  .benefits article{
    min-height:92px;
    padding:12px 8px;
    border:1px solid rgba(215,165,44,.35) !important;
    background:rgba(0,0,0,.56);
  }

  .benefits article+article{
    border-left:1px solid rgba(215,165,44,.35) !important;
  }

  .benefit-icon{
    width:38px;
    height:38px;
    margin-bottom:7px;
  }

  .benefits h2{
    font-size:12px;
  }
}

/* Phone */
@media (max-width:560px){
  .home-page::before{
    padding-top:145vh;
  }

  .brand-hero{
    top:11%;
    width:92vw;
  }

  .skull-hat{
    width:min(62%, 300px) !important;
  }

  .wordmark{
    width:100% !important;
  }

  .benefits{
    grid-template-columns:1fr 1fr;
    gap:8px;
    left:10px;
    right:10px;
    bottom:10px;
  }
}


/* =========================================================
   V15 SPACING + BENEFIT CONTAINMENT
   - Centers the skull/wordmark group lower in the usable page area.
   - Tightens the gap between skull and wordmark.
   - Keeps all four benefit items contained on narrower screens.
   ========================================================= */

@media (min-width:1201px){
  .brand-hero{
    top:10.5%;
    gap:clamp(8px, .8vw, 14px);
  }
}

@media (max-width:1200px) and (min-width:901px){
  .brand-hero{
    top:15.5%;
    gap:8px;
    width:min(62vw, 720px);
  }

  .benefits{
    left:2.5%;
    right:2.5%;
    width:auto;
    grid-template-columns:repeat(4, minmax(0,1fr));
    gap:0;
  }

  .benefits article{
    width:auto;
    min-width:0;
    padding:0 6px;
    box-sizing:border-box;
  }

  .benefits h2{
    font-size:clamp(10px,1.15vw,13px);
    white-space:normal;
  }
}

@media (max-width:900px){
  .brand-hero{
    top:17%;
    gap:7px;
  }

  .benefits{
    left:12px;
    right:12px;
    width:auto;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:560px){
  .brand-hero{
    top:18%;
    gap:6px;
  }

  .benefits{
    left:8px;
    right:8px;
  }
}


/* =========================================================
   V16 FINAL BRANDING POSITION
   Matches the approved rendering: larger, vertically centered,
   tight skull-to-wordmark spacing, with full brush strokes.
   ========================================================= */

@media (min-width:1201px){
  .brand-hero{
    top:8.5%;
    width:min(58vw, 880px);
    gap:2px;
  }

  .skull-hat{
    width:min(58%, 510px) !important;
  }

  .wordmark{
    width:min(100%, 820px) !important;
  }
}

@media (max-width:1200px) and (min-width:901px){
  .brand-hero{
    top:11.5%;
    width:min(66vw, 760px);
    gap:2px;
  }

  .skull-hat{
    width:min(58%, 430px) !important;
  }

  .wordmark{
    width:min(100%, 700px) !important;
  }

  .benefits{
    left:2.5%;
    right:2.5%;
    width:auto;
  }
}

@media (max-width:900px){
  .brand-hero{
    top:13%;
    width:min(88vw, 640px);
    gap:0;
  }

  .skull-hat{
    width:min(58%, 360px) !important;
  }

  .wordmark{
    width:min(100%, 610px) !important;
  }
}


/* =========================================================
   V73 LEGAL NAV DROPDOWN
   ========================================================= */
.top-nav .legal-menu{
  position:relative;
  display:flex;
  align-items:center;
}
.top-nav .legal-toggle{
  position:relative;
}
.top-nav .legal-toggle:hover,
.top-nav .legal-menu.open .legal-toggle{
  color:#d6a12b;
}
.top-nav .legal-dropdown{
  display:none;
  position:absolute;
  top:34px;
  left:50%;
  transform:translateX(-50%);
  min-width:230px;
  padding:8px;
  z-index:100;
  background:#080808;
  border:1px solid #8f6818;
  box-shadow:0 16px 35px rgba(0,0,0,.9);
}
.top-nav .legal-menu.open .legal-dropdown{
  display:block;
}
.top-nav .legal-dropdown a{
  display:block;
  padding:12px 14px;
  color:#eee;
  text-decoration:none;
  white-space:nowrap;
  font-size:11px;
  letter-spacing:.045em;
}
.top-nav .legal-dropdown a:hover,
.top-nav .legal-dropdown a.current{
  color:#e0aa2c;
  background:rgba(214,161,43,.08);
}


/* =========================================================
   V78 GLOBAL COPYRIGHT FOOTER
   ========================================================= */
.site-copyright{
  width:min(1180px,calc(100% - 48px));
  margin:34px auto 16px;
  padding-top:10px;
  color:#8d887f;
  font-family:Arial,Helvetica,sans-serif;
  font-size:12px;
  font-weight:400;
  line-height:1.3;
  letter-spacing:.055em;
  text-align:left;
}
@media(max-width:700px){
  .site-copyright{
    width:calc(100% - 28px);
    margin-top:26px;
    font-size:10px;
  }
}
