/*
Theme Name: BREVANOR
Theme URI: https://www.brevanor.co/
Author: BREVANOR
Description: BREVANOR custom WordPress Block/FSE theme foundation and global shell.
Version: 0.2.9
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: brevanor
License: GPL-2.0-or-later
*/

*,*::before,*::after{box-sizing:border-box}

html{scroll-behavior:smooth;scrollbar-gutter:stable}

body{
  margin:0;
  overflow-wrap:break-word;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img,svg,video{display:block;max-width:100%;height:auto}
button,a,input,select,textarea{font:inherit}
a{color:inherit}

:where(a,button,input,select,textarea):focus-visible{
  outline:2px solid #0F3D63;
  outline-offset:2px;
  box-shadow:none;
}
:where(.has-navy-background-color,.has-deep-charcoal-background-color) :where(a,button,input,select,textarea):focus-visible,
.brevanor-site-footer :where(a,button,input,select,textarea):focus-visible,
.brevanor-site-header.brevanor-site-header--navy :where(a,button,input,select,textarea):focus-visible,
.brevanor-site-header.brevanor-site-header--charcoal :where(a,button,input,select,textarea):focus-visible{
  outline-color:#FFFFFF;
}

.wp-site-blocks,.wp-block-group,.wp-block-columns,.wp-block-column,.wp-block-grid{min-width:0}

.brevanor-container-narrow{width:min(100%,760px);margin-inline:auto}
.brevanor-container-standard{width:min(100%,960px);margin-inline:auto}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
}

body .skip-link.screen-reader-text:focus{
  left:4px;
  top:4px;
  width:auto;
  height:auto;
  clip:auto;
  z-index:100001;
  background:#FFFFFF;
  color:#0F3D63;
  padding:12px 16px;
  border:1px solid #0F3D63;
  outline:2px solid #0F3D63;
  outline-offset:2px;
  text-decoration:none;
}
.brevanor-footer-logo{
  display:inline-block;
}

/* D-019: every footer link gets the social-icon focus treatment (Gold text and
 * icon, White ring from the shared footer rule). Contact icons sit outside the
 * link, so the row uses :focus-within. */
.brevanor-site-footer .brevanor-footer-nav a:focus-visible,
.brevanor-site-footer .brevanor-footer-contact a:focus-visible{
  color:#C8A25A;
}
.brevanor-site-footer .brevanor-footer-contact-row:not(.brevanor-footer-address):focus-within svg{
  color:#C8A25A;
}

/* D-046: focus ring inside the open Navy mobile menu. */
.wp-block-navigation__responsive-container.is-menu-open :is(a,button):focus-visible{outline-color:#FFFFFF}

/* D-049: footer legal lines at AA contrast on Charcoal (shell.css is protected). */
.brevanor-site-footer .brevanor-footer-legal-copy p{color:rgba(255,255,255,.68)}

/* Restored eyebrows on hand-built Navy heroes (Services, About, Insights) and the inherited-colour symbol. */
:is(.p02-services__hero,.brevanor-p07-about__hero,.brevanor-p08-insights__hero) .brevanor-content-heading-stack__eyebrow{color:rgba(232,230,227,.65)}
/* Every eyebrow carries the BREVANOR symbol (Approver, 7 Oct 2026): 14px, text colour, 8px gap; empty eyebrows and stacks with their own symbol image are skipped. */
.brevanor-content-heading-stack__eyebrow:is(p:not(:empty),:has(> span:not(:empty))):not(:has(img))::before,
.brevanor-p16__eyebrow::before{content:"";display:inline-block;width:14px;height:14px;flex:0 0 14px;background:currentColor;-webkit-mask:url("assets/images/BREVANOR_Symbol.svg") center/contain no-repeat;mask:url("assets/images/BREVANOR_Symbol.svg") center/contain no-repeat}
.brevanor-p16__eyebrow{display:flex;align-items:center;gap:8px}
.brevanor-service-detail__hero .brevanor-content-heading-stack__eyebrow{margin-bottom:-12px}
