/*
Theme Name: BHG
Theme URI: https://www.bhospgroup.com/
Description: B Hospitality Group. Child theme of Twenty Twenty-Five carrying the BHG design system.
Author: B Hospitality Group
Template: twentytwentyfive
Version: 1.0.0
Text Domain: bhg
*/

:root{
  --ink:#000000;
  --sandrift:#A19580;
  --sandrift-deep:#786F60;
  --sandrift-dark:#8E836F;
  --linen:#F7F4EF;
  --mercury:#E5E5E5;
  --white:#FFFFFF;
  --body:#3A3A3A;
  --muted:#6B6B6B;
  --on-dark:#C9C4BB;
  --display:'Cormorant',Georgia,'Times New Roman',serif;
  --ui:'Cabin',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
  --wrap:1180px;
  --gut:clamp(20px,5vw,48px);
  --sec:clamp(64px,9vw,112px);
  --header-h:78px;
}

/* ---------- reset the editor's default spacing so our sections control it ---------- */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
body{margin:0;font-family:var(--ui);font-size:17px;line-height:1.65;color:var(--body);background:var(--white);-webkit-font-smoothing:antialiased;overflow-x:hidden}
body.bhg-landing .wp-site-blocks > *,
body.bhg-landing .wp-block-post-content > *{margin-block-start:0;margin-block-end:0}
.bhg-landing img{max-width:100%;height:auto;display:block}
.bhg-landing h1,.bhg-landing h2,.bhg-landing h3,.bhg-landing h4,.bhg-landing p{margin:0}
.bhg-landing a{color:inherit}
.bhg-landing figure{margin:0}

.bhg-wrap{max-width:var(--wrap);margin:0 auto;padding-left:var(--gut);padding-right:var(--gut)}
.bhg-skip{position:absolute;left:-9999px;top:0;background:var(--sandrift);color:#000;padding:12px 20px;z-index:200;font-weight:600}
.bhg-skip:focus{left:0}

/* ---------- type ---------- */
.bhg-landing .h1{font-family:var(--display);font-weight:300;font-size:clamp(38px,6.6vw,74px);line-height:1.04;color:var(--white);letter-spacing:.005em}
.bhg-landing .h2{font-family:var(--display);font-weight:400;font-size:clamp(28px,4.2vw,46px);line-height:1.14;color:var(--ink)}
.bhg-landing .h2.light{color:var(--white)}
.bhg-landing .h3{font-family:var(--ui);font-weight:600;font-size:19px;line-height:1.35;color:var(--ink)}
.bhg-rule{width:52px;height:2px;background:var(--sandrift);margin-bottom:24px}
.bhg-rule.center{margin-left:auto;margin-right:auto}

/* ---------- buttons ---------- */
.bhg-landing .wp-block-button__link,.bhg-btn{
  display:inline-block;font-family:var(--ui);font-weight:600;font-size:16px;letter-spacing:.01em;text-decoration:none;
  padding:16px 32px;background:var(--sandrift);color:#000;border:0;border-radius:0;cursor:pointer;transition:background .18s ease}
.bhg-landing .wp-block-button__link:hover,.bhg-btn:hover{background:var(--sandrift-dark);color:#000}
.bhg-landing .wp-block-button__link:focus-visible,.bhg-btn:focus-visible{outline:2px solid var(--white);outline-offset:3px}
.bhg-btn-sm{padding:11px 20px;font-size:15px}

/* ---------- header ---------- */
.bhg-hdr{position:fixed;top:0;left:0;right:0;z-index:100;transition:background .25s ease,box-shadow .25s ease}
.bhg-hdr.solid{background:var(--ink);box-shadow:0 1px 0 rgba(255,255,255,.08)}
.bhg-hdr-in{max-width:var(--wrap);margin:0 auto;padding:0 var(--gut);height:var(--header-h);display:flex;align-items:center;justify-content:space-between;gap:20px}
.bhg-hdr-logo img{height:40px;width:auto}
.bhg-nav{display:flex;align-items:center;gap:30px}
.bhg-nav a{color:#DCD8D1;text-decoration:none;font-size:15.5px;padding:6px 0;border-bottom:1px solid transparent;transition:color .15s ease,border-color .15s ease}
.bhg-nav a:hover,.bhg-nav a:focus-visible{color:var(--sandrift);border-color:var(--sandrift)}
.bhg-hdr .bhg-btn{white-space:nowrap}
.bhg-burger{display:none;background:none;border:0;padding:10px;cursor:pointer}
.bhg-burger span{display:block;width:24px;height:2px;background:#fff;margin:5px 0;transition:transform .2s ease,opacity .2s ease}
.bhg-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.bhg-burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.bhg-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(max-width:900px){
  .bhg-nav{position:fixed;inset:var(--header-h) 0 auto 0;background:var(--ink);flex-direction:column;align-items:flex-start;gap:0;padding:8px var(--gut) 28px;border-top:1px solid #222;display:none}
  .bhg-nav.open{display:flex}
  .bhg-nav a{width:100%;padding:15px 0;font-size:17px;border-bottom:1px solid #1C1C1C}
  .bhg-burger{display:block}
  .bhg-hdr:not(.solid){background:rgba(0,0,0,.35)}
  .bhg-hdr.menu-open{background:var(--ink)}
}
@media(max-width:560px){.bhg-hdr .bhg-btn{display:none}.bhg-hdr-logo img{height:34px}}

/* ---------- hero (core cover block) ---------- */
.bhg-landing .bhg-hero.wp-block-cover{min-height:clamp(560px,92vh,880px);padding:calc(var(--header-h) + 40px) 0 72px;align-items:center}
.bhg-landing .bhg-hero .wp-block-cover__background{background:linear-gradient(100deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.72) 34%,rgba(0,0,0,.40) 68%,rgba(0,0,0,.28) 100%)!important;opacity:1!important}
.bhg-landing .bhg-hero .wp-block-cover__inner-container{width:100%;max-width:var(--wrap);margin:0 auto;padding-left:var(--gut);padding-right:var(--gut)}
.bhg-hero-copy{max-width:640px}
.bhg-hero-copy p{color:#E4E0D9;margin:22px 0 34px!important;max-width:48ch;font-size:clamp(16px,1.6vw,18px)}
@media(max-width:700px){
  .bhg-landing .bhg-hero.wp-block-cover{min-height:auto;padding:calc(var(--header-h) + 64px) 0 64px}
  .bhg-landing .bhg-hero .wp-block-cover__background{background:linear-gradient(180deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.62) 45%,rgba(0,0,0,.80) 100%)!important}
  .bhg-hero-copy .wp-block-button,.bhg-hero-copy .wp-block-button__link{display:block;text-align:center}
}

/* ---------- sections ---------- */
.bhg-sec{padding:var(--sec) 0}
.bhg-sec-linen{background:var(--linen)}
.bhg-sec-ink{background:var(--ink);color:var(--on-dark)}
.bhg-sec-head{margin-bottom:clamp(36px,5vw,56px)}
.bhg-sec-head p{margin-top:14px;color:var(--muted)}
.bhg-sec-ink .bhg-sec-head p{color:var(--on-dark)}
.bhg-center{text-align:center}

/* services */
.bhg-svc{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1px;background:var(--mercury);border:1px solid var(--mercury)}
.bhg-svc-card{background:var(--linen);padding:34px 28px}
.bhg-svc-card .bhg-mark{width:26px;height:2px;background:var(--sandrift);margin-bottom:18px}
.bhg-svc-card h3{margin-bottom:10px!important}
.bhg-svc-card p{font-size:15.5px;line-height:1.6}
.bhg-svc-note{margin-top:34px;max-width:70ch}
.bhg-svc-note p{font-size:16.5px;line-height:1.7}

/* featured work */
.bhg-gal{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.bhg-gal figure{margin:0;overflow:hidden;background:var(--mercury)}
.bhg-gal img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.bhg-gal figure:hover img{transform:scale(1.04)}
@media(min-width:820px){
  .bhg-gal{grid-template-columns:repeat(4,1fr);grid-auto-rows:220px}
  .bhg-gal .bhg-tall{grid-row:span 2}
  .bhg-gal .bhg-wide{grid-column:span 2}
}
@media(max-width:819px){.bhg-gal figure{aspect-ratio:4/3}.bhg-gal .bhg-tall{aspect-ratio:3/4}}

/* who we serve */
.bhg-serve{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;text-align:center}
.bhg-serve span{font-family:var(--display);font-size:clamp(20px,2.6vw,30px);color:var(--white);padding:10px 26px;position:relative;line-height:1.3}
.bhg-serve span:not(:last-child)::after{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);width:1px;height:26px;background:var(--sandrift)}
@media(max-width:760px){.bhg-serve{flex-direction:column;gap:2px}.bhg-serve span{padding:9px 0}.bhg-serve span:not(:last-child)::after{display:none}}

/* experience */
.bhg-exp{text-align:center;max-width:780px;margin:0 auto}
.bhg-exp p{margin-top:24px!important;font-size:clamp(16.5px,1.7vw,18.5px);line-height:1.72}

/* how it works */
.bhg-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:clamp(28px,4vw,46px)}
.bhg-step .bhg-num{font-family:var(--display);font-weight:300;font-size:46px;line-height:1;color:var(--sandrift-deep);margin-bottom:14px}
.bhg-step h3{margin-bottom:8px!important}
.bhg-step p{font-size:15.5px}

/* credibility */
.bhg-creds{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:26px}
.bhg-cred{padding-left:16px;border-left:2px solid var(--sandrift)}
.bhg-cred b{display:block;color:var(--white);font-weight:600;font-size:17px;margin-bottom:4px}
.bhg-cred span{font-size:15px;line-height:1.5}

/* final cta */
.bhg-final{text-align:center}
.bhg-final p{color:var(--on-dark);margin:18px auto 32px!important;max-width:46ch}

/* footer */
.bhg-foot{background:var(--ink);color:var(--on-dark);padding:clamp(50px,7vw,72px) 0 34px;border-top:1px solid #1C1C1C}
.bhg-foot-top{display:flex;flex-wrap:wrap;gap:40px;justify-content:space-between;align-items:flex-start}
.bhg-foot img{height:78px;width:auto}
.bhg-foot h4{font-family:var(--ui);font-weight:600;color:var(--white);font-size:14px;letter-spacing:.06em;margin-bottom:12px!important;text-transform:uppercase}
.bhg-foot a{color:var(--sandrift);text-decoration:none}
.bhg-foot a:hover{color:var(--white)}
.bhg-foot p{line-height:2}
.bhg-foot-bot{margin-top:44px;padding-top:22px;border-top:1px solid #1C1C1C;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;font-size:14px;color:#7C776F}

/* ---------- privacy page ---------- */
.bhg-doc{max-width:760px;margin:0 auto;padding:clamp(56px,8vw,90px) var(--gut)}
.bhg-doc h1{font-family:var(--display);font-weight:400;font-size:clamp(32px,5vw,46px);line-height:1.15;color:var(--ink);margin-bottom:10px}
.bhg-doc h2{font-family:var(--ui);font-weight:600;font-size:18px;color:var(--ink);margin:38px 0 10px}
.bhg-doc p,.bhg-doc li{margin-bottom:16px}
.bhg-doc a{color:var(--sandrift-deep);font-weight:600;text-decoration:none;border-bottom:1px solid var(--sandrift)}
.bhg-doc a:hover{color:var(--ink);border-color:var(--ink)}

/* ---------- editor: make the back end resemble the front ---------- */
.editor-styles-wrapper .bhg-sec-ink{color:var(--on-dark)}
.editor-styles-wrapper .bhg-hdr{position:relative}

/* credential blocks built from paragraphs rather than raw markup, so they stay editable */
.bhg-cred .bhg-cred-t{color:var(--white);font-weight:600;font-size:17px;margin-bottom:4px!important}
.bhg-cred .bhg-cred-d{font-size:15px;line-height:1.5}
.bhg-foot-col p{margin:0!important;line-height:2}
