/* Back Forty BBQ starter. Scoped styles to avoid interfering with Kadence. */
.b40-home{--b40-wood:#26170f;--b40-blue:#083463;--b40-orange:#f46a18;--b40-cream:#f8ead0;font-family:system-ui,sans-serif;background:#f3e2c3;color:#26170f}
.b40-home.alignfull{max-width:none!important;margin-block-start:0}.b40-home .alignfull{max-width:none!important;margin-block-start:0}.b40-home *{box-sizing:border-box}
.b40-header{position:relative;z-index:5;background:repeating-linear-gradient(0deg,#29170f 0,#381f13 14px,#1c100a 17px,#3a2318 45px);box-shadow:0 6px 18px #0008}
.b40-header-inner{max-width:1540px;margin:auto;min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:12px 4%}
.b40-logo{width:clamp(210px,29vw,350px);flex-shrink:0}.b40-logo img{display:block;width:100%;height:auto;filter:drop-shadow(1px 3px 1px #0008)}
.b40-links{display:flex;gap:clamp(12px,1.8vw,28px);flex-wrap:wrap;align-items:center;justify-content:center}.b40-links a{color:#fff4dd!important;text-decoration:none!important;text-transform:uppercase;font-size:.84rem;font-weight:800;letter-spacing:.08em}.b40-links a:hover{color:#ff853f!important}
.b40-home .b40-button,.b40-home .b40-primary .wp-block-button__link{background:linear-gradient(155deg,#6e391b,#29150c 65%,#170d08)!important;border:3px ridge #af6e40;border-radius:7px!important;color:#fff6df!important;box-shadow:0 5px 1px #160b06,0 9px 20px #0006;text-transform:uppercase;text-decoration:none;font-weight:900;letter-spacing:.07em;padding:16px 24px;display:inline-block;text-align:center}.b40-home .b40-button:hover,.b40-home .b40-primary .wp-block-button__link:hover{background:#85411e!important}.b40-home .b40-small{white-space:nowrap;font-size:.9rem;padding:12px 17px}
.b40-hero{position:relative;min-height:650px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#9cc3df 0%,#ffdfa9 42%,#eda95f 61%,#7a813a 70%,#365628 100%);isolation:isolate}
.b40-hero:before{content:"";position:absolute;inset:37% 0 0;background-image:url('pasture-detail.webp');background-position:center bottom;background-size:cover;filter:saturate(.85);z-index:-1}
.b40-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0008,transparent 27%,transparent 73%,#0008),linear-gradient(180deg,#fff2 5%,transparent 55%,#0005 100%);pointer-events:none;z-index:0}
.b40-door{width:21%;height:100%;position:absolute;top:0;z-index:1;border:10px ridge #4c2914;background:repeating-linear-gradient(90deg,#5d331d 0,#94603a 20px,#623b23 50px,#ba7744 80px,#4e2d1a 94px);box-shadow:inset 0 0 44px #120a05,0 0 20px #0009;display:flex;align-items:center;justify-content:center}.b40-door:before,.b40-door:after{content:"";position:absolute;left:0;right:0;height:24px;background:linear-gradient(#361d10,#8c542b,#30180d);border-block:3px solid #26160b}.b40-door:before{top:15%}.b40-door:after{bottom:19%}.b40-door-left{left:-4%;transform:perspective(600px) rotateY(-13deg);transform-origin:left}.b40-door-right{right:-4%;transform:perspective(600px) rotateY(13deg);transform-origin:right}.b40-door img{display:block;width:80%;mix-blend-mode:multiply;opacity:.77;filter:grayscale(1) contrast(1.9)}
.b40-hero-center{position:relative;z-index:2;width:min(760px,68%);margin:35px auto 140px;text-align:center;padding:30px 26px;background:radial-gradient(ellipse,#fff4d2f0 0%,#fff0c7bd 55%,#ffe9bc00 76%);text-shadow:0 1px 2px #fff9}
.b40-eyebrow{font-size:.79rem;font-weight:900;letter-spacing:.23em;text-transform:uppercase}.b40-home .b40-title{font-family:Georgia,serif!important;line-height:1.03;letter-spacing:.01em;text-transform:uppercase;font-size:clamp(2.4rem,5.5vw,5.7rem);color:#221710!important;margin:18px 0!important;font-weight:900}.b40-title strong{color:var(--b40-blue)}.b40-subtitle{font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:clamp(.98rem,1.7vw,1.5rem)}.b40-actions{margin-top:28px!important}
.b40-service-bar{background:repeating-linear-gradient(0deg,#2b1a11,#3b2618 10px,#20130c 14px,#3b2519 35px);padding:29px max(5%,calc((100vw - 1320px)/2));margin:0!important;color:#f5e9d7;gap:16px}.b40-service-bar .wp-block-column{padding:9px 20px;border-left:1px solid #bc86556b}.b40-service-bar h3{font:900 1rem Georgia,serif;color:#fff3dd!important;text-transform:uppercase;margin:0 0 8px}.b40-service-bar p{font-size:.88rem;line-height:1.5;margin:0;color:#e8d6c1}
.b40-intro{padding:70px 6%!important;background:radial-gradient(#f4dfb8,#dac098);}.b40-intro-inner{max-width:1280px;margin:auto;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:6%}.b40-intro h2{font:900 clamp(2.1rem,4vw,4.4rem) Georgia,serif;text-transform:uppercase;color:#31170d;margin:12px 0 22px}.b40-intro p{font-size:1.08rem;line-height:1.8}.b40-intro-art{min-height:340px;border:13px ridge #683c22;border-radius:4px;background:url('back-forty-crew.webp') center/cover no-repeat;box-shadow:13px 14px 1px #4a2b1933}
@media(max-width:1100px){.b40-header-inner{flex-wrap:wrap;justify-content:center}.b40-links{order:3;width:100%;padding:8px}.b40-door{width:17%}.b40-hero-center{width:78%}}
@media(max-width:700px){.b40-header-inner{min-height:auto;padding:16px}.b40-logo{width:240px}.b40-links{gap:12px}.b40-links a{font-size:.68rem}.b40-home .b40-small{font-size:.8rem}.b40-hero{min-height:560px}.b40-door{width:11%;border-width:4px}.b40-door img{display:none}.b40-hero-center{width:92%;padding:34px 10px;margin:0 auto 75px}.b40-home .b40-title{font-size:clamp(2.3rem,10vw,4rem)}.b40-eyebrow{font-size:.65rem;letter-spacing:.1em}.b40-service-bar{display:grid!important;grid-template-columns:1fr 1fr;padding:22px 15px}.b40-service-bar .wp-block-column{margin:0!important;padding:12px}.b40-intro-inner{grid-template-columns:1fr}.b40-intro-art{min-height:230px}}
@media(prefers-reduced-motion:reduce){.b40-home *{scroll-behavior:auto!important;transition:none!important}}

/* ===== Back Forty V2: realistic carved timber and burned wood branding ===== */
.b40-home{--b40-blue:#29170f;--b40-orange:#b96830}
.b40-header{background:linear-gradient(#1a100bb0,#1a100bd9),repeating-linear-gradient(0deg,#28170f 0,#4a2a17 21px,#21120b 26px,#45291b 66px)!important;border-top:5px solid #231108;border-bottom:5px solid #6a381c}
.b40-header-inner{min-height:122px;gap:16px}
.b40-logo{display:block;width:clamp(215px,30vw,385px)!important;aspect-ratio:3.0/1;background:url('branded-logo.webp') center / contain no-repeat!important;flex-shrink:0}
.b40-logo img{visibility:hidden!important;width:100%;height:auto}
.b40-links a:hover{color:#eda763!important}
.b40-hero{background:linear-gradient(180deg,#a6c4d7 0%,#ffe3ab 40%,#d7aa71 65%,#546c36 100%)}
.b40-door{width:23%;border:0;background-size:cover!important;background-repeat:no-repeat!important;box-shadow:inset 0 0 28px #160a02,0 0 22px #0008}
.b40-door-left{left:0;transform:none;background-image:url('real-door-left.webp')!important;background-position:right center!important;border-right:8px solid #2a170d}
.b40-door-right{right:0;transform:none;background-image:url('real-door-right.webp')!important;background-position:left center!important;border-left:8px solid #2a170d}
.b40-door:before,.b40-door:after{display:none!important}
.b40-door>img{display:none!important}
.b40-hero-center{width:min(870px,69%);padding:25px 24px;background:radial-gradient(ellipse,#fff0d7e8 0%,#ffebcfbf 48%,#fff1d000 76%)}
.b40-home .b40-title{color:#30180f!important;font-family:Georgia,serif!important;text-shadow:0 2px 0 #ffefdc}
.b40-home .b40-title strong{color:#321a10!important}
/* Keep real accessible CTA links but show branded image rather than flat button */
.b40-home .b40-primary .wp-block-button__link{display:flex!important;align-items:center;justify-content:center;min-height:80px;min-width:min(440px,80vw);padding:10px 36px!important;color:transparent!important;text-shadow:none!important;font-size:0!important;background: url('branded-quote.webp') center/contain no-repeat!important;border:0!important;box-shadow:none!important;transition:transform .18s ease,filter .18s ease}
.b40-home .b40-primary .wp-block-button__link:hover{transform:translateY(-3px);filter:brightness(1.06)}
/* In the header show the same branded CTA artwork, keep clickable semantic anchor */
.b40-home .b40-button.b40-small{display:block;min-width:190px;height:75px;font-size:0!important;color:transparent!important;padding:0!important;background:url('branded-quote.webp') center/contain no-repeat!important;border:0!important;box-shadow:none!important}
.b40-home .b40-button.b40-small:hover{filter:brightness(1.07)}
@media(max-width:1100px){.b40-header-inner{min-height:100px}.b40-door{width:20%}.b40-hero-center{width:76%}}
@media(max-width:700px){.b40-logo{width:min(280px,75vw)!important}.b40-door{width:14%;border-width:3px}.b40-hero-center{width:93%;padding:28px 12px}.b40-home .b40-primary .wp-block-button__link{min-width:min(330px,88vw);min-height:65px}.b40-home .b40-button.b40-small{height:55px;min-width:170px}}


/* ===== Back Forty V3: restrained type, large image CTAs, refined trim, cohesive footer ===== */
.b40-home .b40-header{border-bottom:3px solid #60351f!important}
.b40-home .b40-header-inner{min-height:106px!important;padding-block:9px!important}
.b40-home .b40-hero{border-top:3px solid #654027;border-bottom:3px solid #654027;min-height:630px}
/* Responsive two-tier heading; keep full text editable in the original WP heading block. */
.b40-home .b40-hero-center{width:min(900px,74%);margin:8px auto 95px;padding:20px 22px 26px;background:radial-gradient(ellipse at 50% 44%,#fff0dcd9 0%,#ffedd0a8 48%,#fff1d000 78%)}
.b40-home .b40-title{font-family:Georgia,serif!important;font-size:clamp(1.75rem,3.15vw,3.55rem)!important;line-height:1.1!important;letter-spacing:.015em!important;max-width:780px;margin:10px auto 16px!important;text-wrap:balance}
.b40-home .b40-title strong{display:block;font-size:clamp(3.05rem,5.9vw,6.2rem)!important;line-height:.99!important;white-space:normal;letter-spacing:-.025em}
.b40-home .b40-eyebrow{font-size:clamp(.65rem,1vw,.83rem);line-height:1.6;max-width:800px;margin-inline:auto;letter-spacing:.16em}
.b40-home .b40-subtitle{max-width:780px;margin-inline:auto;font-size:clamp(.9rem,1.3vw,1.18rem);line-height:1.45;letter-spacing:.07em}
.b40-home .b40-actions{margin-top:12px!important}
/* Picture-based branded sign retains clickable link and accessible text. */
.b40-home .b40-hero .b40-primary .wp-block-button__link{min-width:0!important;width:clamp(280px,38vw,540px)!important;height:clamp(90px,11vw,145px)!important;min-height:0!important;padding:0!important}
.b40-home .b40-button.b40-small{min-width:0!important;width:clamp(182px,17vw,240px)!important;height:74px!important}
/* 'Get to Know Our Crew' stays a real readable text CTA, not an image with a different label. */
.b40-home .b40-intro .b40-primary .wp-block-button__link{font-size:.86rem!important;line-height:1.25!important;min-height:0!important;min-width:0!important;padding:17px 26px!important;background:linear-gradient(180deg,#8c512b 0%,#4b2816 60%,#2c190f 100%)!important;border:2px solid #a66b3f!important;border-radius:6px!important;color:#fff0d8!important;box-shadow:0 5px 0 #21130c,0 10px 20px #0004!important;text-shadow:none!important;letter-spacing:.08em}
.b40-home .b40-intro .b40-primary .wp-block-button__link:hover{background:#744225!important;color:#fff!important}
/* Roomier icon-ready service columns. */
.b40-home .b40-service-bar{padding-block:32px!important;gap:0!important;border-top:3px solid #5c321c;border-bottom:3px solid #5c321c}
.b40-home .b40-service-bar .wp-block-column{padding:10px 24px!important}
.b40-home .b40-service-bar h3{font-size:clamp(.92rem,1.15vw,1.14rem)!important;margin-bottom:9px!important;letter-spacing:.025em}
.b40-home .b40-service-bar p{font-size:.91rem!important;line-height:1.55!important}
/* Match the site's normal Kadence footer, if present. */

/* V5: pasture fills the doorway opening; eliminate the right-side bright seam.
   Door widths are 23% desktop and responsive below, so overlay pasture
   directly behind the door edges rather than over the entire hero canvas. */
.b40-home .b40-hero::before {
  inset: 30% 20% 0 !important;
  background-image: url('pasture-detail.webp') !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center bottom !important;
  filter: saturate(.88);
  z-index: 0 !important;
}
.b40-home .b40-hero::after { z-index: 1 !important; }
.b40-home .b40-door { z-index: 2 !important; }
.b40-home .b40-hero-center { z-index: 3 !important; }
@media(max-width:1100px) {
 .b40-home .b40-hero::before { left: 17% !important; right: 17% !important; }
}
@media(max-width:700px) {
 .b40-home .b40-hero::before { inset: 28% 11% 0 !important; }
}

/* V6: image-level correction removes the right door's built-in golden sky seam. */
.b40-home .b40-door-right { background-image:url('real-door-right.webp') !important; background-position:left center !important; }


/* ===== V9: seamless scenery, compact complete brand heading, crew board ===== */
.b40-home .b40-hero {
  background: #b8ced2 url('pasture-seamless.webp') center center / cover no-repeat !important;
}
.b40-home .b40-hero::before { display:none!important; }
.b40-home .b40-hero-center {
  background:radial-gradient(ellipse at 50% 36%,rgba(250,240,214,.80) 0%,rgba(250,236,210,.43) 50%,transparent 78%)!important;
  margin:0 auto 68px!important;
  padding:24px 14px 18px!important;
}
.b40-home .b40-hero .b40-title,
.b40-home .b40-hero h1.b40-title {
  font-size:clamp(1.45rem,2.6vw,2.6rem)!important;
  line-height:1.08!important;
  letter-spacing:.01em!important;
  margin:12px auto 12px!important;
  max-width:780px;
}
.b40-home .b40-hero .b40-title .b40-title-top { display:block; }
.b40-home .b40-hero .b40-title strong {
  display:block;
  font-size:clamp(2.25rem,4.4vw,4.6rem)!important;
  line-height:1.03!important;
  letter-spacing:-.02em;
}
.b40-home .b40-intro .b40-primary .wp-block-button__link {
  display:block!important;
  width:clamp(255px,32vw,460px)!important;
  min-width:0!important;
  height:clamp(83px,10.5vw,144px)!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent url('branded-crew.webp') center/contain no-repeat!important;
  box-shadow:none!important;
  font-size:0!important;
  color:transparent!important;
  text-shadow:none!important;
  transition:transform .18s ease,filter .18s ease!important;
}
.b40-home .b40-intro .b40-primary .wp-block-button__link:hover,
.b40-home .b40-intro .b40-primary .wp-block-button__link:focus-visible {
  background:transparent url('branded-crew.webp') center/contain no-repeat!important;
  transform:translateY(-3px)!important;
  filter:brightness(1.08)!important;
}
.b40-home .b40-hero .b40-primary .wp-block-button__link:hover,
.b40-home .b40-hero .b40-primary .wp-block-button__link:focus-visible {
  background:transparent url('branded-quote.webp') center/contain no-repeat!important;
}
.b40-home .b40-primary .wp-block-button__link:focus-visible {
  outline:3px solid #f7cf83!important;
  outline-offset:3px!important;
}
@media(max-width:700px){
 .b40-home .b40-hero{background-position:center center!important;}
 .b40-home .b40-hero-center{margin:0 auto 50px!important;padding:20px 8px 14px!important;}
 .b40-home .b40-hero .b40-title{font-size:clamp(1.25rem,5vw,1.85rem)!important;}
 .b40-home .b40-hero .b40-title strong{font-size:clamp(1.85rem,7.2vw,2.8rem)!important;}
 .b40-home .b40-intro .b40-primary .wp-block-button__link{width:min(100%,380px)!important;height:110px!important;}
}

/* Back Forty v0.9.1: approved charred-wood four-column service strip.
   Native blocks retain headings and description text; backgrounds contain no words. */
.b40-home .b40-service-bar.wp-block-columns {
  background: #30180d url("back-forty-charred-wood.webp") center center / cover no-repeat !important;
  border-top: 5px solid #1a0a04 !important;
  border-bottom: 5px solid #1a0a04 !important;
  box-sizing: border-box;
}
.b40-home .b40-service-bar > .wp-block-column {
  background: rgba(17,7,3,.12);
  min-width: 0;
}
.b40-home .b40-service-bar h3,
.b40-home .b40-service-bar p {
  color: #fff0d4 !important;
  text-shadow: 1px 2px 3px #160900;
}
@media (max-width:781px) {
  .b40-home .b40-service-bar.wp-block-columns {
    background-size: auto 100% !important;
  }
}

/* v0.9.3: versioned pasture image - fixes stale original pasture when old asset is cached. */
body .b40-home .wp-block-group.b40-hero {
  background-color: #b8ced2 !important;
  background-image: url('pasture-corrected-093.webp') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
body .b40-home .wp-block-group.b40-hero::before { display: none !important; }
