/* Bear & Willow HR — logo styles */
.bw-logo {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--forest);
  line-height: 1;
}
.bw-logo[data-tone="ivory"] { color: var(--ivory); }
.bw-logo[data-tone="sage"] { color: var(--sage-deep); }

.bw-mark { display: inline-block; flex-shrink: 0; }

/* Illustration mark — uses the pencil bear+willow PNG */
.bw-mark--illustration img {
  display: block;
  height: 56px;
  width: auto;
  object-fit: contain;
}
.bw-logo--sm .bw-mark--illustration img { height: 44px; }
.bw-logo--lg .bw-mark--illustration img { height: 86px; }

.bw-stack { display: inline-flex; flex-direction: column; gap: 4px; }

.bw-word {
  font-family: "Source Sans 3", "Source Sans Pro", "Source Serif 4", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: currentColor;
  white-space: nowrap;
}
.bw-word--sm { font-size: 18px; }
.bw-word--md { font-size: 24px; }
.bw-word--lg { font-size: 36px; }
.bw-amp { font-style: italic; opacity: 0.85; }

.bw-tag {
  font-family: "Geist", system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  opacity: 0.75;
  white-space: nowrap;
}
.bw-logo[data-tone="ivory"] .bw-tag { color: var(--cream); opacity: 0.7; }

.bw-hr {
  font-family: "Geist", system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  padding-left: 10px;
  margin-left: 4px;
  border-left: 1px solid var(--hair-strong);
  white-space: nowrap;
}

/* "More" dropdown in nav (shared by home + inner pages) */
.bw-more{position:relative}
.bw-more>button{background:none;border:0;padding:8px 0;font-family:"Geist",sans-serif;font-size:14.5px;font-weight:450;color:var(--ink-soft);display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.bw-more>button span{font-size:10px}
.bw-more:hover>button,.bw-more.is-active>button{color:var(--forest)}
.bw-more-menu{position:absolute;top:100%;right:-12px;min-width:220px;padding:8px;background:var(--ivory);border:1px solid var(--hair);border-radius:10px;box-shadow:var(--shadow-md);display:none;flex-direction:column;gap:2px;z-index:70}
.bw-more:hover .bw-more-menu,.bw-more:focus-within .bw-more-menu{display:flex}
.bw-more-menu a{padding:10px 12px !important;border-radius:6px;text-decoration:none;color:var(--ink-soft);font-size:14.5px;white-space:nowrap}
.bw-more-menu a:hover{background:var(--cream);color:var(--forest)}
.bw-more-menu a.active::after{display:none}
.bw-more-menu a.active{color:var(--forest);font-weight:500}

/* Mobile menu (shared) */
.bw-burger{display:none;width:44px;height:44px;border:1px solid var(--hair-strong);border-radius:10px;background:transparent;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;margin-left:auto}
.bw-burger span{display:block;width:18px;height:1.5px;background:var(--forest);transition:transform .2s ease,opacity .2s ease}
.bw-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
.bw-burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.bw-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
@media (max-width:1180px){
  .bw-burger{display:inline-flex}
  .bw-menu{display:none !important;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch !important;gap:0 !important;padding:8px 32px 24px;background:var(--ivory);border-bottom:1px solid var(--hair);box-shadow:var(--shadow-md);max-height:calc(100vh - 80px);overflow-y:auto}
  .bw-menu.open{display:flex !important}
  .bw-menu > a{display:block !important;padding:14px 0 !important;border-bottom:1px solid var(--hair);font-size:16px !important}
  .bw-menu > a.active::after{display:none}
  .bw-menu > a.btn,.bw-menu > a.bw-nav-cta{margin-top:16px;border:1px solid var(--forest) !important;border-radius:999px;text-align:center;justify-content:center}
}
