/* B&B phone identity: two equal choices, a clear toll-free accent. */
:root {
  --phone-display: clamp(2rem, 3.5vw, 3.5rem);
  --phone-label: 0.75rem;
  --phone-gap: 1rem;
}
.header-lines {
  display: grid;
  gap: 0.25rem;
  flex-shrink: 0;
  min-width: 180px;
}
.header-lines a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--phone-gap);
  min-height: 30px;
  padding: 0.25rem 0.5rem;
  text-decoration: none;
  border-radius: var(--radius);
  font-size: var(--text-sm);
}
.header-lines a span {
  font-size: var(--phone-label);
  font-weight: 500;
}
.header-lines .header-lines__tollfree {
  background: var(--logo-red);
  color: var(--white);
}
.header-lines a:hover { text-decoration: underline; }
.header-lines__tollfree:hover { background: var(--logo-red-hover); }
.phone-section { margin-bottom: 2rem; }
.phone-section__intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--phone-gap);
  margin-bottom: 1rem;
}
.phone-section__intro h2 { margin: 0; font-size: 1.5rem; }
.phone-section__intro p { margin: 0; font-size: var(--text-sm); color: var(--muted); }
.phone-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--phone-gap);
}
.phone-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  min-width: 0;
  min-height: 220px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}
.phone-card--tollfree {
  background: var(--logo-red);
  color: var(--white);
  border-color: var(--logo-red);
}
.phone-card__label {
  font: 700 var(--phone-label)/1.5 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.phone-card strong {
  font: 700 var(--phone-display)/1.05 var(--font-display);
  white-space: nowrap;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums tabular-nums;
}
.phone-card__digits { margin-top: 0.5rem; font-size: var(--text-base); }
.phone-card__action {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  gap: var(--phone-gap);
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: var(--text-sm);
  font-weight: 600;
}
.phone-card__action b { font-size: 1.5rem; line-height: 1; }
.phone-card:hover { background: var(--sage); border-color: var(--forest); }
.phone-card--tollfree:hover { background: var(--logo-red-hover); border-color: var(--logo-red-hover); }
.phone-card:active, .mobile-call:active { filter: brightness(0.92); }
.phone-section__note { margin: 1rem 0 0; font-size: var(--text-sm); color: var(--muted); }
.contact-grid .contact-area { margin-top: 0; padding-top: 0; border-top: 0; }
.footer-contact { display: grid; gap: 0.75rem; min-width: 0; }
.footer-contact .footer-phone {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 64px;
  text-decoration: none;
  white-space: normal;
  font-size: 1rem;
  padding: 0;
}
.footer-phone span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--phone-label);
  color: #cbd6cb;
  font-weight: 500;
}
.footer-phone strong {
  font: 600 clamp(1.375rem, 2.5vw, 1.75rem)/1.25 var(--font-display);
  white-space: nowrap;
}
.footer-phone small { font: 400 var(--phone-label)/1.5 var(--font-body); color: #cbd6cb; }
.footer-contact .footer-phone--tollfree strong { color: var(--white); }
.footer-phone:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.footer-contact p { margin: 0; }
.site-header__inner { gap: 1.25rem; }
.nav ul { gap: 1.25rem; }
.nav-mobile-contact { display: list-item; }
@media (max-width: 1100px) and (min-width: 961px) {
  .nav ul { gap: 0.75rem; }
  .header-lines { min-width: 164px; }
  .header-lines a { gap: 0.5rem; }
}
@media (max-width: 960px) {
  .header-lines { display: none; }
}
@media (max-width: 720px) {
  .phone-section__intro { display: block; }
  .phone-section__intro p { margin-top: 0.5rem; }
  .phone-pair { grid-template-columns: 1fr; gap: 0.75rem; }
  .phone-card { min-height: 180px; padding: 1.25rem; }
  .phone-card strong { font-size: clamp(2.375rem, 10vw, 3rem); }
  .phone-card__label { margin-bottom: 0.75rem; }
  .phone-card__action { padding-top: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #43584a;
    padding-top: 1rem;
    gap: 1rem;
  }
  .footer-contact p { grid-column: 1 / -1; }
  .footer-contact .footer-phone { align-content: start; min-height: 72px; }
  .mobile-bar { grid-template-columns: 1fr 1fr; }
  .mobile-bar a.mobile-call {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
    padding: 0.625rem 0.5rem;
    min-height: 64px;
    font-size: var(--text-sm);
    line-height: 1.35;
    background: var(--forest);
    color: var(--white);
    text-decoration: none;
  }
  .mobile-bar a.mobile-call--tollfree { background: var(--logo-red); }
  .mobile-call span { font-size: var(--phone-label); font-weight: 400; }
  .mobile-call strong { font-weight: 700; white-space: nowrap; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

/* Internal team link */
.nav-internal a{border:1px solid currentColor;border-radius:999px;padding:.3rem .8rem;font-size:.85em;opacity:.85}
.nav-internal a:hover{opacity:1}

/* Internal link on phones and tablets: a normal menu row, not a pill */
@media (max-width: 960px) {
  .nav-internal a {
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 0;
    font-size: 17px;
    opacity: 1;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
  }
  .nav-internal a::after {
    content: "";
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/contain no-repeat;
  }
}

/* Site credit in footer */
.footer-credit{grid-column:1/-1;width:100%;max-width:none;margin:14px 0 0;padding-top:12px;border-top:1px solid rgba(255,255,255,.14);font-size:.82rem;line-height:1.5;opacity:.8;text-align:left}
.footer-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.footer-credit a:hover{opacity:1}
@media (max-width:700px){body{} .footer-credit{padding-bottom:4px}}
@media (max-width:700px){.footer-credit{text-align:center}}

/* Masthead credit link */
a.core-signature{text-decoration:none;color:inherit;transition:opacity .15s ease}
a.core-signature:hover{opacity:.8}
a.core-signature:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:4px}
