/* BLUEBERRY Editorial v05 / shared interior design system */
:root{--inner-max:1560px;--body-col:760px}
body.bbv5-site{background:var(--paper);color:var(--ink)}
.bbv5-site .skip-link{position:absolute;z-index:10000;top:-90px;left:10px;background:#fff;border:2px solid #111;color:#111;padding:8px 16px}
.bbv5-site .skip-link:focus{top:10px}
.bbv5-site .header{z-index:98}
.bbv5-site.admin-bar .header{top:32px}
.bbv5-site .nav-items{display:flex;gap:clamp(20px,2.3vw,45px);list-style:none;margin:0;padding:0;align-items:center}
.bbv5-site .nav-items li{list-style:none;margin:0;padding:0}
.bbv5-site .nav-items li a{font-size:12px;font-weight:550;white-space:nowrap}
.bbv5-site .footer-link-list.menu,.bbv5-site ul.footer-link-list{list-style:none;padding:0;margin:0}
.bbv5-site ul.footer-link-list li{margin:0;padding:0;list-style:none}
.bbv5-site .footer-navigation ul.footer-link-list a{display:flex;justify-content:space-between;gap:15px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.14);font-size:14px}
.bbv5-site .footer-navigation .footer-link-list a:hover{opacity:.65}
.bbv5-site .footer-navigation .footer-link-list a::after{content:none;display:none}
.bbv5-site :is(a,button,input,textarea,select):focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.bbv5-inner{width:100%;min-height:50vh}
.bbv5-page-hero{padding:clamp(72px,10vw,150px) var(--gutter) clamp(65px,9vw,132px);border-bottom:1px solid var(--line);max-width:1820px;margin:0 auto}
.bbv5-overline{display:flex;align-items:center;justify-content:space-between;gap:20px;line-height:1.5;font-size:11px;font-weight:500;letter-spacing:.1em;color:#4d514c;text-transform:uppercase}
.bbv5-title-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(225px,.5fr);gap:clamp(30px,5vw,120px);align-items:end;margin-top:clamp(46px,7vw,110px)}
.bbv5-title-layout h1,.bbv5-not-found h1{font-family:Arial,'Helvetica Neue',sans-serif;font-size:clamp(76px,11.5vw,205px);line-height:.88;letter-spacing:-.065em;font-weight:550;margin:0;overflow-wrap:anywhere}
.bbv5-dot{color:var(--accent)}
.bbv5-title-layout p{margin:0 0 .3em;max-width:340px;font-size:clamp(14px,1.1vw,17px);line-height:1.85;letter-spacing:.01em;color:#404640}
.bbv5-project-section{padding:clamp(30px,4vw,72px) var(--gutter) 150px;max-width:1820px;margin:auto}
.bbv5-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(55px,6vw,102px) 26px}
.bbv5-project{text-decoration:none;min-width:0;display:block}
.bbv5-project:nth-child(6n + 3){grid-column:1 / 2}
.bbv5-project:nth-child(6n + 4){grid-column:2 / 3;margin-top:clamp(28px,5vw,80px)}
.bbv5-project-image{width:100%;aspect-ratio:1.38/1;overflow:hidden;background:#e3e3db;position:relative}
.bbv5-project:nth-child(4n + 2) .bbv5-project-image{aspect-ratio:1.18/1}
.bbv5-project:nth-child(4n + 3) .bbv5-project-image{aspect-ratio:1.54/1}
.bbv5-project-image img{width:100%;height:100%;object-fit:cover;transition:transform 650ms var(--ease)}
.bbv5-project:hover img{transform:scale(1.025)}
.bbv5-project-info{display:flex;justify-content:space-between;gap:20px;padding-top:14px;border-top:1px solid transparent}
.bbv5-project-info h2{font-weight:550;font-size:clamp(20px,2vw,30px);letter-spacing:-.025em;line-height:1.15;margin:0 0 7px}
.bbv5-project-info p{color:var(--muted);font-size:12px;line-height:1.5;margin:0;max-width:480px}
.bbv5-project-info span{white-space:nowrap;flex-shrink:0;font-size:12px;color:var(--muted)}
.bbv5-noimage{width:100%;height:100%;display:grid;place-items:center;font-size:clamp(24px,3vw,45px);font-weight:500;letter-spacing:-.04em;padding:40px;text-align:center;overflow-wrap:anywhere}
.bbv5-pagination{padding:60px 0 0;display:flex;gap:20px;align-items:center;justify-content:center;font-size:15px}
.bbv5-pagination a{opacity:.55}.bbv5-pagination a:hover,.bbv5-pagination .current{opacity:1}
.bbv5-column-list{padding:25px var(--gutter) 150px;max-width:1820px;margin:0 auto}
.bbv5-column-row{display:grid;grid-template-columns:minmax(145px,.26fr) minmax(0,1fr) 24px;gap:clamp(25px,4vw,85px);align-items:start;border-bottom:1px solid var(--line);padding:clamp(27px,3.3vw,60px) 0;transition:color .2s}
.bbv5-column-row:hover{color:var(--accent)}
.bbv5-column-row h2{font-size:clamp(23px,2.8vw,48px);line-height:1.34;letter-spacing:-.032em;font-weight:500;margin:0;word-break:normal;overflow-wrap:anywhere}
.bbv5-column-meta{display:flex;flex-direction:column;gap:9px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-size:12px}
.bbv5-row-arrow{font-size:24px;line-height:1.2;justify-self:end}
.bbv5-case-top{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:44px var(--gutter) 0;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#5e645d}
.bbv5-case-top .bbv5-back{color:var(--ink);border-bottom:1px solid currentColor;padding-bottom:5px}
.bbv5-case-heading{padding:clamp(64px,8vw,130px) var(--gutter) clamp(60px,8vw,120px);max-width:1820px;margin:auto}
.bbv5-case-heading h1{font-size:clamp(52px,5.25vw,92px);font-weight:550;line-height:1.105;letter-spacing:-.045em;margin:0;overflow-wrap:anywhere}
.bbv5-case-subtitle{font-size:clamp(17px,2.1vw,27px);max-width:900px;line-height:1.6;margin:35px 0 10px;white-space:normal}
.bbv5-case-tax{font-size:12px;letter-spacing:.06em;text-transform:uppercase;margin-top:33px;color:var(--muted)}
.bbv5-cover{width:100%;margin:0;max-height:1000px;overflow:hidden;background:#d8dad5}
.bbv5-cover img{width:100%;max-height:1000px;object-fit:cover;display:block}
.bbv5-case-content{display:grid;grid-template-columns:minmax(170px,.3fr) minmax(0,1fr);gap:clamp(50px,7vw,130px);padding:clamp(80px,10vw,160px) var(--gutter);max-width:1600px;margin:auto}
.bbv5-case-content aside{display:flex;flex-direction:column;align-items:flex-start;gap:36px;font-size:11px;text-transform:uppercase;letter-spacing:.09em;color:var(--muted)}
.bbv5-case-content aside a{font-size:13px;letter-spacing:0;text-transform:none;color:var(--ink)}
.bbv5-rich-content{width:100%;max-width:var(--body-col);min-width:0;font-size:16px;line-height:1.95;overflow-wrap:anywhere}
.bbv5-rich-content>*:first-child{margin-top:0}
.bbv5-rich-content h2{font-size:clamp(26px,3vw,43px);line-height:1.4;letter-spacing:-.025em;font-weight:520;margin:3em 0 1em}
.bbv5-rich-content h3{font-size:clamp(21px,2vw,28px);font-weight:550;line-height:1.5;margin:2em 0 .85em}
.bbv5-rich-content h4{font-size:18px;font-weight:600;margin:2em 0 1em}
.bbv5-rich-content p{font-size:inherit;line-height:inherit;margin:0 0 1.7em}
.bbv5-rich-content a{text-decoration:underline;text-underline-offset:.19em}
.bbv5-rich-content :is(ul,ol){list-style:revert;padding-left:1.5em;margin:1.25em 0 2em}
.bbv5-rich-content li{list-style:inherit;margin:.6em 0}
.bbv5-rich-content blockquote{border-left:2px solid var(--ink);margin:2.5em 0;padding:.3em 0 .3em 1.5em;font-family:Georgia,serif;font-size:clamp(20px,2.6vw,34px);line-height:1.5}
.bbv5-rich-content img{max-width:100%;height:auto;display:block}
.bbv5-rich-content figure{margin:2.5em 0;max-width:100%}
.bbv5-rich-content figure img{height:auto}
.bbv5-rich-content figcaption{font-size:12px;color:var(--muted);margin-top:12px}
.bbv5-rich-content .wp-block-image,.bbv5-rich-content .wp-block-gallery,.bbv5-rich-content .wp-block-columns{max-width:100%;width:100%}
.bbv5-rich-content :is(table){width:100%;border-collapse:collapse;display:block;overflow:auto;font-size:14px}
.bbv5-rich-content table :is(th,td){border-bottom:1px solid var(--line);padding:12px;text-align:left}
.bbv5-rich-content iframe{max-width:100%}
.bbv5-next{margin:60px var(--gutter) 130px;padding:50px 0 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-end;gap:25px;font-size:12px;letter-spacing:.07em}
.bbv5-next a{font-size:clamp(30px,5vw,78px);letter-spacing:-.04em;font-weight:500}
.bbv5-article{padding:0 var(--gutter)}
.bbv5-article .bbv5-case-top{padding:44px 0 0}
.bbv5-article-heading{text-align:center;max-width:1050px;margin:0 auto;padding:clamp(75px,8vw,130px) 0 clamp(55px,7vw,110px)}
.bbv5-article-heading h1{font-size:clamp(37px,4.15vw,72px);font-weight:540;letter-spacing:-.038em;line-height:1.30;margin:25px 0 0;overflow-wrap:anywhere}
.bbv5-article-meta{font-size:11px;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);display:flex;gap:28px;justify-content:center}
.bbv5-article-heading>p{font-size:17px;line-height:1.8;color:#4b514b;max-width:720px;margin:28px auto 0}
.bbv5-article-cover{margin:0 auto 100px;max-width:1250px}
.bbv5-article-cover img{width:100%;height:auto;display:block}
.bbv5-editorial-copy{margin:0 auto clamp(100px,10vw,170px);max-width:760px;font-size:17px;line-height:2.0}
.bbv5-article-prevnext{display:flex;justify-content:space-between;gap:20px;padding:36px 0 90px;border-top:1px solid var(--line);font-size:14px}
.bbv5-default-content{max-width:1050px;margin:clamp(75px,8vw,140px) auto 150px;padding:0 var(--gutter)}
.bbv5-about-section{display:grid;grid-template-columns:minmax(150px,.34fr) minmax(0,1fr);gap:clamp(45px,8vw,155px);padding:clamp(92px,9vw,160px) var(--gutter);border-bottom:1px solid var(--line);max-width:1820px;margin:auto}
.bbv5-about-side{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.bbv5-about-main h2{font-weight:500;font-size:clamp(31px,5vw,82px);line-height:1.18;letter-spacing:-.042em;max-width:1020px;margin:0 0 50px;overflow-wrap:anywhere}
.bbv5-about-copy{max-width:750px;font-size:16px;line-height:2.05;white-space:normal}
.bbv5-about-copy p{font-size:inherit;line-height:inherit;margin:0 0 1.4em}
.bbv5-before-values{border-bottom:0}
.bbv5-about-muted{background:#ecede8;max-width:none;padding-left:max(var(--gutter),calc((100vw - 1820px)/2));padding-right:max(var(--gutter),calc((100vw - 1820px)/2));border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.bbv5-expertise-list{display:grid;grid-template-columns:repeat(2,1fr);column-gap:35px;margin-top:76px}
.bbv5-expertise-list>div{border-top:1px solid var(--line);padding:19px 0 23px}
.bbv5-expertise-list span{font-size:10px;color:var(--muted)}
.bbv5-expertise-list h3{font-size:21px;font-weight:550;letter-spacing:-.02em;margin:16px 0 10px}
.bbv5-expertise-list p{font-size:13px;color:var(--muted);line-height:1.6}
.bbv5-person-grid{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:start;gap:70px}
.bbv5-person-grid figure{margin:0}
.bbv5-person-grid figure img{width:100%;height:auto;display:block;filter:none}
.bbv5-role{color:var(--muted);font-size:13px;letter-spacing:.06em;margin:-35px 0 40px}
.bbv5-company-grid{display:grid;grid-template-columns:minmax(160px,.4fr) minmax(0,1fr);gap:65px;padding:clamp(65px,9vw,145px) var(--gutter) clamp(125px,11vw,190px);max-width:1500px;margin:auto}
.bbv5-company-heading{color:var(--muted);font-size:11px;letter-spacing:.09em}
.bbv5-company-grid dl{margin:0}
.bbv5-company-grid dl>div{display:grid;grid-template-columns:minmax(120px,.35fr) 1fr;gap:25px;padding:30px 0;border-top:1px solid var(--line)}
.bbv5-company-grid dl>div:last-child{border-bottom:1px solid var(--line)}
.bbv5-company-grid dt{font-size:13px;color:var(--muted)}
.bbv5-company-grid dd{margin:0;font-size:clamp(16px,1.7vw,25px);line-height:1.7}
.bbv5-contact-grid{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1fr);gap:clamp(55px,10vw,180px);padding:clamp(85px,10vw,175px) var(--gutter) 170px;max-width:1700px;margin:auto}
.bbv5-contact-lead>span{font-size:11px;color:var(--muted);letter-spacing:.08em}
.bbv5-contact-lead h2{font-size:clamp(43px,5vw,85px);line-height:1.04;font-weight:510;letter-spacing:-.045em;margin:55px 0}
.bbv5-contact-lead h2 em{font-family:Georgia,serif;font-weight:400;font-style:italic;letter-spacing:-.03em}
.bbv5-contact-lead p{font-size:15px;line-height:1.95;max-width:460px;margin:0 0 48px}
.bbv5-contact-lead>a{font-size:16px;border-bottom:1px solid var(--ink);padding-bottom:8px}
.bbv5-contact-form{min-width:0}
.bbv5-contact-form form{display:grid;gap:22px}
.bbv5-contact-form form p{font-size:14px;line-height:1.7;margin:0}
.bbv5-contact-form label{display:block;font-size:13px;font-weight:500;margin-bottom:8px}
.bbv5-contact-form :is(input:not([type=checkbox]):not([type=radio]),textarea,select){width:100%;max-width:100%;background:transparent;border:0;border-bottom:1px solid #aab0a8;border-radius:0;padding:14px 0;margin-top:3px;font-family:inherit;font-size:16px;color:var(--ink);box-shadow:none}
.bbv5-contact-form textarea{min-height:160px;resize:vertical}
.bbv5-contact-form :is(input[type=submit],button[type=submit]){cursor:pointer;padding:16px 38px;background:var(--ink);color:#fff;border:1px solid var(--ink);font-weight:500;font-size:14px;border-radius:0;max-width:100%}
.bbv5-contact-form :is(input[type=checkbox],input[type=radio]){width:auto}
.bbv5-contact-form .wpcf7-not-valid-tip{font-size:12px;color:#ab3939}
.bbv5-contact-form .wpcf7-response-output{font-size:13px;line-height:1.7;padding:14px 16px;margin:12px 0}
.bbv5-privacy-copy{max-width:920px;font-size:15px}
.bbv5-privacy-copy h4{font-size:20px;font-weight:550}
.bbv5-not-found{min-height:55vh}.bbv5-not-found p{font-size:17px;margin:40px 0}.bbv5-text-link{border-bottom:1px solid;padding-bottom:8px}
@media (min-width:1440px){.bbv5-project-section,.bbv5-column-list{padding-left:max(var(--gutter),calc((100vw - 1820px)/2));padding-right:max(var(--gutter),calc((100vw - 1820px)/2))}}
@media (max-width:1023px){
.bbv5-title-layout{grid-template-columns:1fr;gap:35px}
.bbv5-title-layout p{max-width:620px}
.bbv5-case-content{grid-template-columns:1fr;gap:40px}
.bbv5-case-content aside{flex-direction:row;justify-content:space-between}
.bbv5-rich-content{max-width:850px}
.bbv5-about-section{grid-template-columns:1fr;gap:32px}
.bbv5-company-grid{grid-template-columns:1fr;gap:35px}
.bbv5-person-grid{gap:40px}
.bbv5-contact-grid{grid-template-columns:1fr;gap:60px}
}
@media (max-width:767px){
.bbv5-site.admin-bar .header{top:46px}
.bbv5-site .header .nav-items{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;margin:0}
.bbv5-site .nav.open .nav-items{display:flex}
.bbv5-site .nav-items li a{font-size:clamp(23px,6vw,36px);line-height:1.25;display:block;padding:11px 0}
.bbv5-page-hero{padding-top:85px;padding-bottom:65px}
.bbv5-overline{font-size:10px;letter-spacing:.06em}
.bbv5-title-layout{margin-top:60px}
.bbv5-title-layout h1{font-size:clamp(65px,18vw,105px);letter-spacing:-.065em}
.bbv5-title-layout p{font-size:14px;line-height:1.9}
.bbv5-gallery{grid-template-columns:1fr;gap:55px}
.bbv5-project:nth-child(n){grid-column:auto;margin-top:0}
.bbv5-project:nth-child(n) .bbv5-project-image{aspect-ratio:1.35/1}
.bbv5-project-info h2{font-size:21px}.bbv5-project-section{padding-bottom:110px}
.bbv5-column-list{padding-bottom:100px}
.bbv5-column-row{grid-template-columns:1fr 20px;gap:13px 15px;padding:35px 0}
.bbv5-column-meta{grid-column:1 / -1;flex-direction:row;gap:20px;align-items:baseline;font-size:11px}
.bbv5-column-row h2{font-size:25px;grid-column:1;line-height:1.45}
.bbv5-row-arrow{grid-column:2}
.bbv5-case-top{padding-top:30px;font-size:10px}
.bbv5-case-heading{padding-top:75px;padding-bottom:60px}
.bbv5-case-heading h1{font-size:clamp(35px,9.1vw,49px);letter-spacing:-.035em;line-height:1.16}
.bbv5-case-subtitle{font-size:16px;line-height:1.8;margin:30px 0 10px}
.bbv5-case-content{padding-top:85px;padding-bottom:105px}
.bbv5-case-content aside{font-size:10px}
.bbv5-rich-content{font-size:15px;line-height:2.0}
.bbv5-rich-content h2{font-size:25px}.bbv5-rich-content h3{font-size:20px}
.bbv5-next{margin-bottom:95px}
.bbv5-next a{font-size:35px}
.bbv5-article-heading{padding-top:75px;padding-bottom:65px}
.bbv5-article-heading h1{font-size:clamp(29px,7.4vw,42px);letter-spacing:-.03em;line-height:1.38}
.bbv5-article-cover{margin-bottom:55px}
.bbv5-editorial-copy{font-size:15px;margin-bottom:90px}
.bbv5-about-section{padding-top:84px;padding-bottom:100px}
.bbv5-about-main h2{font-size:clamp(30px,8vw,50px);margin-bottom:35px}
.bbv5-about-copy{font-size:14px;line-height:2.1}
.bbv5-expertise-list{grid-template-columns:1fr;gap:0;margin-top:44px}
.bbv5-person-grid{grid-template-columns:1fr;gap:32px}
.bbv5-person-grid figure{width:170px}.bbv5-role{margin:-20px 0 30px}
.bbv5-company-grid{padding-bottom:100px}
.bbv5-company-grid dl>div{grid-template-columns:1fr;gap:9px}
.bbv5-contact-grid{padding-top:80px;padding-bottom:105px}
.bbv5-contact-lead h2{font-size:clamp(40px,10vw,70px);margin:32px 0}
.bbv5-contact-lead p{font-size:14px;margin-bottom:30px}
.bbv5-default-content{margin:75px auto 105px}
}
@media (max-width:359px){
.bbv5-title-layout h1{font-size:17.5vw}
.bbv5-column-row h2{font-size:22px}
.bbv5-overline span:last-child{font-size:9px}
}
@media (prefers-reduced-motion:reduce){.bbv5-project-image img{transition:none!important}}

/* Final editorial QA: hierarchy and native blocks */
.bbv5-site .footer-navigation ul.footer-link-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
.bbv5-site .footer-navigation ul.footer-link-list li a{display:flex;width:100%;align-items:baseline}
.bbv5-site .footer-navigation ul.footer-link-list li a::after{float:none;margin-left:auto}
.bbv5-site .wp-block-embed{max-width:100%}
.bbv5-site .wp-block-embed iframe{max-width:100%}
.bbv5-site .wp-block-gallery .wp-block-image{margin:0}
.bbv5-site .bbv5-rich-content .alignwide{max-width:min(1100px,calc(100vw - var(--gutter)*2));width:100%;margin-inline:auto}
@media(max-width:767px){.bbv5-site .footer-navigation ul.footer-link-list{grid-template-columns:1fr}}

/* v05.2 / accessible, breathable Contact Form 7 radio-group spacing */
.bbv5-site .bbv5-contact-form .wpcf7-radio{
  display:flex;flex-wrap:wrap;align-items:center;gap:12px 26px;
  margin:16px 0 22px;padding:2px 0;
}
.bbv5-site .bbv5-contact-form .wpcf7-radio .wpcf7-list-item{
  display:inline-flex;align-items:center;margin:0;padding:0;
}
.bbv5-site .bbv5-contact-form .wpcf7-radio .wpcf7-list-item label{
  display:inline-flex;align-items:center;gap:9px;
  margin:0;padding:5px 0;line-height:1.6;font-weight:400;cursor:pointer;
}
.bbv5-site .bbv5-contact-form .wpcf7-radio input[type="radio"]{
  display:inline-block;flex:0 0 auto;margin:0;
  width:15px;height:15px;accent-color:#171d19;
}
.bbv5-site .bbv5-contact-form .wpcf7-radio .wpcf7-list-item-label{
  display:inline-block;line-height:1.6;
}
/* The inherited contact-form display grid controls the vertical rhythm of fields. */
.bbv5-site .bbv5-contact-form .wpcf7-form p:has(.wpcf7-radio){padding-top:9px;padding-bottom:9px}
.bbv5-site .bbv5-person-grid figure img{filter:none}
@media(max-width:767px){
  .bbv5-site .bbv5-contact-form .wpcf7-radio{gap:10px 18px;margin:16px 0 24px}
  .bbv5-site .bbv5-contact-form .wpcf7-radio .wpcf7-list-item label{padding:7px 0}
}


/* v05.3 - editorial Work wall: deliberate variation, not random reordering */
.bbv5-site .bbv5-project-section{
  max-width:2400px;
  padding-left:clamp(24px,4.25vw,104px);
  padding-right:clamp(24px,4.25vw,104px);
}
.bbv5-gallery--editorial{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  column-gap:clamp(18px,2.25vw,44px);
  row-gap:clamp(80px,9vw,178px);
  align-items:start;
}
.bbv5-gallery--editorial > .bbv5-project:nth-child(6n+1){grid-column:span 8; margin-top:0}
.bbv5-gallery--editorial > .bbv5-project:nth-child(6n+2){grid-column:span 4; margin-top:clamp(64px,9vw,190px)}
.bbv5-gallery--editorial > .bbv5-project:nth-child(6n+3){grid-column:span 5; margin-top:0}
.bbv5-gallery--editorial > .bbv5-project:nth-child(6n+4){grid-column:span 7; margin-top:clamp(45px,6vw,115px)}
.bbv5-gallery--editorial > .bbv5-project:nth-child(6n+5){grid-column:span 7; margin-top:0}
.bbv5-gallery--editorial > .bbv5-project:nth-child(6n){grid-column:span 5; margin-top:clamp(55px,7vw,135px)}
.bbv5-gallery--editorial .bbv5-project-image{aspect-ratio:1.35/1}
.bbv5-gallery--editorial > .bbv5-project:nth-child(6n+2) .bbv5-project-image{aspect-ratio:1.0/1}
.bbv5-gallery--editorial > .bbv5-project:nth-child(6n+3) .bbv5-project-image{aspect-ratio:1.18/1}
.bbv5-gallery--editorial > .bbv5-project:nth-child(6n+4) .bbv5-project-image{aspect-ratio:1.58/1}
.bbv5-gallery--editorial > .bbv5-project:nth-child(6n+5) .bbv5-project-image{aspect-ratio:1.52/1}
.bbv5-gallery--editorial > .bbv5-project:nth-child(6n) .bbv5-project-image{aspect-ratio:1.13/1}
.bbv5-gallery--editorial .bbv5-project-info h2{font-size:clamp(18px,1.9vw,31px);line-height:1.32;letter-spacing:-.02em}
.bbv5-gallery--editorial > .bbv5-project:nth-child(6n+2) .bbv5-project-info h2,
.bbv5-gallery--editorial > .bbv5-project:nth-child(6n) .bbv5-project-info h2{font-size:clamp(17px,1.5vw,26px)}
.bbv5-gallery--editorial .bbv5-project-info{padding-top:18px;}
.bbv5-gallery--editorial .bbv5-project-info p{font-size:12px;}
.bbv5-gallery--equal{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(55px,6vw,102px) 26px}
.bbv5-gallery--equal > .bbv5-project:nth-child(n){grid-column:auto;margin-top:0}
.bbv5-gallery--equal > .bbv5-project:nth-child(n) .bbv5-project-image{aspect-ratio:1.38/1}
.bbv5-contact-form{scroll-margin-top:120px}
.bbv5-contact-cta{display:inline-flex;align-items:center;gap:25px;text-decoration:none;transition:gap .25s ease}
.bbv5-contact-cta:hover{gap:35px}
.bbv5-contact-cta span{font-size:22px;line-height:.8}
@media(max-width:1099px) and (min-width:768px){
  .bbv5-gallery--editorial > .bbv5-project:nth-child(n){grid-column:span 6; margin-top:0}
  .bbv5-gallery--editorial > .bbv5-project:nth-child(2n){margin-top:clamp(35px,6vw,80px)}
  .bbv5-gallery--editorial > .bbv5-project:nth-child(n) .bbv5-project-image{aspect-ratio:1.3/1}
  .bbv5-gallery--editorial{row-gap:80px}
}
@media(max-width:767px){
  .bbv5-site .bbv5-project-section{padding-left:var(--gutter);padding-right:var(--gutter)}
  .bbv5-gallery--editorial,.bbv5-gallery--equal{grid-template-columns:minmax(0,1fr);gap:55px}
  .bbv5-gallery--editorial > .bbv5-project:nth-child(n),.bbv5-gallery--equal > .bbv5-project:nth-child(n){grid-column:auto;margin-top:0}
  .bbv5-gallery--editorial > .bbv5-project:nth-child(n) .bbv5-project-image,
  .bbv5-gallery--equal > .bbv5-project:nth-child(n) .bbv5-project-image{aspect-ratio:1.33/1}
  .bbv5-gallery--editorial .bbv5-project-info h2{font-size:clamp(19px,5vw,25px)}
}

/* v05.5 / Column list metadata hierarchy: separate date from category.
   Date remains scan-friendly; taxonomy is quieter and follows the title. */
.bbv5-site .bbv5-column-row .bbv5-column-date{
  display:block;min-width:0;padding-top:4px;white-space:nowrap;
  font-size:13px;font-weight:500;line-height:1.5;letter-spacing:.015em;
  font-variant-numeric:tabular-nums;color:#4f554f;
}
.bbv5-site .bbv5-column-row .bbv5-column-heading{min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.bbv5-site .bbv5-column-row .bbv5-column-categories{
  display:block;max-width:100%;margin-top:13px;
  font-size:10px;font-weight:400;line-height:1.65;letter-spacing:.025em;
  text-transform:uppercase;color:#6c716a;overflow-wrap:break-word;
}
@media(max-width:767px){
  .bbv5-site .bbv5-column-row .bbv5-column-date{grid-column:1 / -1;padding-top:0;font-size:12px}
  .bbv5-site .bbv5-column-row .bbv5-column-heading{grid-column:1;grid-row:2}
  .bbv5-site .bbv5-column-row .bbv5-column-heading h2{grid-column:auto}
  .bbv5-site .bbv5-column-row .bbv5-column-categories{margin-top:10px;font-size:10px;line-height:1.6}
  .bbv5-site .bbv5-column-row .bbv5-row-arrow{grid-column:2;grid-row:2}
}


/* v05.6 — Editable editorial approach, inserted between What We Do and People. */
.bbv5-about-approach{background:var(--paper)}
.bbv5-about-approach .bbv5-about-main h2{max-width:1050px}
.bbv5-approach-steps{margin-top:clamp(70px,8vw,135px);border-top:1px solid var(--line)}
.bbv5-approach-step{display:grid;grid-template-columns:50px minmax(145px,.4fr) minmax(0,1fr);gap:clamp(15px,3vw,45px);align-items:start;padding:27px 0 35px;border-bottom:1px solid var(--line)}
.bbv5-approach-number{font-size:11px;font-variant-numeric:tabular-nums;color:var(--muted);padding-top:7px}
.bbv5-approach-step h3{font-size:clamp(24px,2.4vw,39px);font-weight:520;letter-spacing:-.035em;line-height:1.2;margin:0}
.bbv5-approach-step p{max-width:490px;font-size:clamp(13px,1.1vw,15px);line-height:1.95;color:#505750;margin:3px 0 0}
/* Category nav is a navigational taxonomy, not a decorative tag cloud. */
.bbv5-category-nav{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px clamp(16px,2.5vw,36px);padding:30px var(--gutter) 25px;max-width:1820px;margin:0 auto;border-bottom:1px solid var(--line);font-size:clamp(11px,1vw,13px);line-height:1.6}
.bbv5-category-nav a{color:#5e655e;text-decoration:none;white-space:nowrap;transition:color .16s}
.bbv5-category-nav a:hover,.bbv5-category-nav a[aria-current=page]{color:var(--ink)}
.bbv5-category-nav a[aria-current=page]{border-bottom:1px solid var(--ink);padding-bottom:4px}
.bbv5-category-nav a:first-child{margin-right:clamp(12px,2vw,30px);color:var(--ink)}
.bbv5-category-nav a span{font-size:.85em;opacity:.6}
.bbv5-category-nav--detail{margin-bottom:95px;margin-top:30px;border-top:1px solid var(--line);border-bottom:0}
.bbv5-detail-category-links{display:flex;flex-wrap:wrap;gap:6px 15px;align-items:center}
.bbv5-detail-category-links a,.bbv5-detail-category-links span{color:var(--muted);text-decoration:none;font-size:inherit;letter-spacing:inherit;text-transform:uppercase}
.bbv5-detail-category-links a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.bbv5-case-tax .bbv5-detail-category-links{gap:8px 22px}
.bbv5-article-meta .bbv5-detail-category-links{justify-content:center}
@media(min-width:1440px){.bbv5-category-nav{padding-left:max(var(--gutter),calc((100vw - 1820px)/2));padding-right:max(var(--gutter),calc((100vw - 1820px)/2))}}
@media(max-width:1023px){.bbv5-approach-step{grid-template-columns:36px minmax(0,1fr);gap:10px 18px}.bbv5-approach-step p{grid-column:2}}
@media(max-width:767px){.bbv5-category-nav{gap:10px 18px;padding-top:22px;padding-bottom:22px}.bbv5-category-nav a:first-child{flex-basis:100%;margin-right:0}.bbv5-approach-steps{margin-top:55px}.bbv5-approach-step{padding:21px 0 25px}.bbv5-approach-step h3{font-size:26px}.bbv5-category-nav--detail{margin-bottom:65px}}


/* v05.7 / Column: date and taxonomy share the same optical row. */
.bbv5-site .bbv5-column-row--meta-top{
  grid-template-columns:minmax(145px,.26fr) minmax(0,1fr) 24px;
  column-gap:clamp(25px,4vw,85px);
  row-gap:clamp(17px,1.9vw,31px);
  align-items:start;
}
.bbv5-site .bbv5-column-row--meta-top .bbv5-column-date{
  grid-column:1;grid-row:1;padding-top:0;line-height:1.6;
}
.bbv5-site .bbv5-column-row--meta-top .bbv5-column-categories{
  grid-column:2;grid-row:1;display:block;margin:0;padding-top:2px;
  font-size:10px;font-weight:400;letter-spacing:.03em;line-height:1.6;
  color:#8b9089;text-transform:uppercase;
}
.bbv5-site .bbv5-column-row--meta-top .bbv5-column-heading{
  grid-column:2;grid-row:2;min-width:0;display:block;
}
.bbv5-site .bbv5-column-row--meta-top .bbv5-row-arrow{
  grid-column:3;grid-row:2;
}
.bbv5-site .bbv5-column-row--meta-top.bbv5-column-row--no-category .bbv5-column-heading,
.bbv5-site .bbv5-column-row--meta-top.bbv5-column-row--no-category .bbv5-row-arrow{grid-row:1}
@media(max-width:767px){
  .bbv5-site .bbv5-column-row--meta-top{
    grid-template-columns:minmax(95px,auto) minmax(0,1fr) 18px;
    column-gap:12px;row-gap:18px;
  }
  .bbv5-site .bbv5-column-row--meta-top .bbv5-column-date{grid-column:1;grid-row:1;font-size:11px}
  .bbv5-site .bbv5-column-row--meta-top .bbv5-column-categories{grid-column:2 / 4;grid-row:1;font-size:9px;line-height:1.7;padding-top:2px}
  .bbv5-site .bbv5-column-row--meta-top .bbv5-column-heading{grid-column:1 / 3;grid-row:2}
  .bbv5-site .bbv5-column-row--meta-top .bbv5-row-arrow{grid-column:3;grid-row:2}
  .bbv5-site .bbv5-column-row--meta-top.bbv5-column-row--no-category .bbv5-column-heading{grid-column:1 / 3;grid-row:2}
  .bbv5-site .bbv5-column-row--meta-top.bbv5-column-row--no-category .bbv5-row-arrow{grid-row:2}
}

/* v05.7 / Work alternate photography. Never switch if no image was assigned. */
.bbv5-site .bbv5-project-image.bbv5-swap-media img,
.bbv5-site .work-card .bbv5-swap-media img,
.bbv5-site .hero-feature .bbv5-swap-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.bbv5-site .bbv5-swap-media img.bbv5-primary-image{z-index:1;transition:opacity .38s ease,transform .7s var(--ease)}
.bbv5-site .bbv5-swap-media img.bbv5-hover-alt{z-index:2;opacity:0;transition:opacity .38s ease,transform .7s var(--ease)}
.bbv5-site .bbv5-swap-media.bbv5-hover-failed img.bbv5-hover-alt{display:none}
@media(hover:hover) and (pointer:fine){
  .bbv5-site .bbv5-swap-media:not(.bbv5-hover-failed):hover img.bbv5-primary-image,
  .bbv5-site .work-card-link:hover .bbv5-swap-media:not(.bbv5-hover-failed) img.bbv5-primary-image,
  .bbv5-site .bbv5-project:hover .bbv5-swap-media:not(.bbv5-hover-failed) img.bbv5-primary-image{opacity:0}
  .bbv5-site .bbv5-swap-media:not(.bbv5-hover-failed):hover img.bbv5-hover-alt,
  .bbv5-site .work-card-link:hover .bbv5-swap-media:not(.bbv5-hover-failed) img.bbv5-hover-alt,
  .bbv5-site .bbv5-project:hover .bbv5-swap-media:not(.bbv5-hover-failed) img.bbv5-hover-alt{opacity:1}
}
.bbv5-site .photo.bbv5-swap-media:not(.bbv5-hover-failed):focus-visible img.bbv5-primary-image,
.bbv5-site .work-card-link:focus-visible .bbv5-swap-media:not(.bbv5-hover-failed) img.bbv5-primary-image,
.bbv5-site .bbv5-project:focus-visible .bbv5-swap-media:not(.bbv5-hover-failed) img.bbv5-primary-image{opacity:0}
.bbv5-site .photo.bbv5-swap-media:not(.bbv5-hover-failed):focus-visible img.bbv5-hover-alt,
.bbv5-site .work-card-link:focus-visible .bbv5-swap-media:not(.bbv5-hover-failed) img.bbv5-hover-alt,
.bbv5-site .bbv5-project:focus-visible .bbv5-swap-media:not(.bbv5-hover-failed) img.bbv5-hover-alt{opacity:1}
@media(prefers-reduced-motion:reduce){
  .bbv5-site .bbv5-swap-media img.bbv5-primary-image,
  .bbv5-site .bbv5-swap-media img.bbv5-hover-alt{transition:none!important;transform:none!important}
}

/* v05.8: touch-only, viewport-led alternate image. A loaded alternate avoids blank frames. */


/* v05.9 — Multi-person About / PEOPLE. Existing editorial grid retained. */
.bbv5-site .bbv5-people-list{min-width:0}
.bbv5-site .bbv5-people-list>.bbv5-person-grid+.bbv5-person-grid{
  border-top:1px solid var(--line);margin-top:clamp(54px,6vw,110px);
  padding-top:clamp(54px,6vw,110px)
}
.bbv5-site .bbv5-person-grid--no-image{grid-template-columns:minmax(0,1fr)}
.bbv5-site .bbv5-person-grid figure img{filter:none}
@media(max-width:767px){
  .bbv5-site .bbv5-person-grid--no-image{grid-template-columns:minmax(0,1fr)}
}

/* ---------------------------------------------------------------------
 * BLUEBERRY v05.10 / Interaction & optical navigation refinement
 * --------------------------------------------------------------------- */
/* Allow the fixed-feeling sticky bar to retreat while scrolling down.
   Using only transform means the content does not jump in the document flow. */
.bbv5-site .header{
  transition:transform .46s cubic-bezier(.22,1,.36,1);
  transform:translate3d(0,0,0);
}
.bbv5-site .header.bbv5-header-hidden{
  transform:translate3d(0,-115%,0);
  pointer-events:none;
}
/* Desktop navigation borrows the calmer footer link typography, without
   copying the footer's underline, full width, or contrast. */
@media(min-width:761px){
  .bbv5-site .header .nav{gap:clamp(26px,2.5vw,42px);}
  .bbv5-site .header .nav a{
    font-family:inherit;font-size:14px;font-weight:450;
    letter-spacing:-.018em;line-height:1.5;
  }
}
@media(max-width:760px){
  .bbv5-site .header .nav a{
    font-family:inherit;font-size:18px;font-weight:450;
    letter-spacing:-.018em;line-height:1.45;
  }
}
/* Every CMS-uploaded profile portrait: same center crop and radius as the
   initial Toshiki portrait; authors never need to pre-round photo corners. */
.bbv5-site .bbv5-person-grid figure{
  width:220px;max-width:100%;aspect-ratio:1 / 1;
  margin:0;overflow:hidden;border-radius:12px;
}
.bbv5-site .bbv5-person-grid figure img{
  display:block;width:100%;height:100%;aspect-ratio:1 / 1;
  object-fit:cover;object-position:50% 50%;border-radius:inherit;
  filter:none;
}
@media(max-width:767px){
  .bbv5-site .bbv5-person-grid figure{width:170px;max-width:100%;}
}
/* Touch screens never switch Work images automatically or through tap-focus.
   Mouse / trackpad hover remains unchanged on devices supporting real hover. */
@media(hover:none){
  .bbv5-site .bbv5-swap-media img.bbv5-primary-image{opacity:1!important;}
  .bbv5-site .bbv5-swap-media img.bbv5-hover-alt{opacity:0!important;}
}
@media(prefers-reduced-motion:reduce){
  .bbv5-site .header{transition:none!important;}
  .bbv5-site .header.bbv5-header-hidden{
    transform:none!important;pointer-events:auto!important;
  }
}

/* v05.11 / Detail-title scale. Only single Work / Column headings are
   resized; listing, home, and About display typography remain unchanged. */


/* v05.12 / Article byline is editorial metadata, not a second headline. */
.bbv5-site .bbv5-article-heading .bbv5-article-author {
  display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;
  gap:6px 11px;margin:clamp(28px,3.5vw,54px) auto 0;
  font-size:12px;line-height:1.65;letter-spacing:.025em;color:#6a7069;
}
.bbv5-site .bbv5-article-author span {text-transform:uppercase;font-size:10px;letter-spacing:.11em;color:var(--muted)}
.bbv5-site .bbv5-article-author strong {font-weight:500;color:#3c433d}
@media(max-width:767px){
 .bbv5-site .bbv5-article-heading .bbv5-article-author{margin-top:27px;font-size:12px}
}

/* v05.12 / Mobile hamburger becomes an accessible, reversible close icon.
 * Current JS already keeps aria-expanded in sync with actual menu state. */
@media(max-width:760px){
  .bbv5-site .header .menu-toggle{display:inline-flex;align-items:center;justify-content:center;
    min-width:44px;min-height:44px;padding:6px;flex:0 0 auto;-webkit-tap-highlight-color:transparent}
  .bbv5-site .header .menu-toggle>span{position:relative;display:block;width:24px;height:20px;flex:0 0 24px}
  .bbv5-site .header .menu-toggle>span i{
    position:absolute;left:0;top:50%;display:block;width:24px;height:1.5px;
    background:currentColor;border-radius:1px;margin:0;transform-origin:50% 50%;
    transition:transform .33s cubic-bezier(.22,1,.36,1);
  }
  .bbv5-site .header .menu-toggle>span i:first-child{transform:translateY(-4.5px)}
  .bbv5-site .header .menu-toggle>span i:last-child{transform:translateY(4.5px)}
  .bbv5-site .header .menu-toggle[aria-expanded="true"]>span i:first-child{transform:rotate(45deg)}
  .bbv5-site .header .menu-toggle[aria-expanded="true"]>span i:last-child{transform:rotate(-45deg)}
}
@media(prefers-reduced-motion:reduce){
 .bbv5-site .header .menu-toggle>span i{transition:none!important}
}

/* v05.12 / Mobile and tablet Work cover: preserve original image proportions.
 * WordPress supplies a height attribute, which must not be retained while
 * width shrinks to the viewport. Otherwise object-fit:cover cuts off the sides. */
@media(max-width:1023px){
  .bbv5-site .bbv5-cover{width:100%;height:auto;max-height:none;overflow:visible}
  .bbv5-site .bbv5-cover img{display:block;width:100%;max-width:100%;height:auto!important;
    max-height:none;object-fit:contain;object-position:center}
  .bbv5-site .bbv5-case .bbv5-rich-content :is(img,video){max-width:100%;height:auto}
  .bbv5-site .bbv5-case .bbv5-rich-content figure{max-width:100%}
}

/* v05.14 / Column listing: small, editorial movement, consistent with Home.
   Keep the date and taxonomy anchored in place. Keyboard focus is equivalent
   to pointer hover, while touch devices do not animate on scroll/tap. */
.bbv5-site .bbv5-column-row .bbv5-column-heading,
.bbv5-site .bbv5-column-row .bbv5-row-arrow{
  transition:transform .32s cubic-bezier(.22,1,.36,1);
}
@media (hover:hover) and (pointer:fine){
  .bbv5-site .bbv5-column-row:hover .bbv5-column-heading{
    transform:translate3d(8px,0,0);
  }
  .bbv5-site .bbv5-column-row:hover .bbv5-row-arrow{
    transform:translate3d(5px,0,0);
  }
}
.bbv5-site .bbv5-column-row:focus-visible .bbv5-column-heading{
  transform:translate3d(8px,0,0);
}
.bbv5-site .bbv5-column-row:focus-visible .bbv5-row-arrow{
  transform:translate3d(5px,0,0);
}
@media (prefers-reduced-motion:reduce){
  .bbv5-site .bbv5-column-row .bbv5-column-heading,
  .bbv5-site .bbv5-column-row .bbv5-row-arrow{
    transform:none!important;transition:none!important;
  }
}


/* v05.22 / Company CTA uses HOME's Contact link component: typography,
   cool gradient underline and progressive touch reveal. Keep Company layout. */
.bbv5-site .bbv5-next-contact {
  align-items: baseline;
}
.bbv5-site .bbv5-next-contact .bbv5-next-label {
  flex: 0 0 auto;
  line-height: 1.2;
}
.bbv5-site .bbv5-next-contact a.contact-cta-link {
  margin-left: auto;
  width: min(440px, 52%);
  min-width: 0;
  font-size: clamp(18px, 2.6vw, 38px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.25;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:38px;
  padding-bottom:9px;
  border-bottom:1px solid var(--ink);
  text-decoration:none;
  white-space:nowrap;
}
@media (max-width:760px) {
  .bbv5-site .bbv5-next-contact { display:block; }
  .bbv5-site .bbv5-next-contact .bbv5-next-label { display:block; margin-bottom:30px; }
  .bbv5-site .bbv5-next-contact a.contact-cta-link {
    display:flex;
    width:100%;
    margin-left:0;
    font-size:clamp(23px,6vw,30px);
    gap:8px;
  }
}


/* v05.23 / About desktop editorial grid and typographic hierarchy.
   Keep the VALUES section's full-bleed background and borders, but align
   its label and main text with MISSION, WHAT WE DO, APPROACH and PEOPLE.
   Do not change the existing one-column mobile layout. */
@media (min-width:1024px) {
  .bbv5-site .bbv5-about-section.bbv5-about-muted {
    position:relative;
    isolation:isolate;
    max-width:1820px;
    padding-left:var(--gutter);
    padding-right:var(--gutter);
    background:transparent;
    border-top:0;
    border-bottom:0;
  }
  .bbv5-site .bbv5-about-section.bbv5-about-muted::before {
    content:"";
    position:absolute;
    z-index:-1;
    top:0;bottom:0;left:50%;
    width:100vw;
    transform:translateX(-50%);
    background:#ecede8;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    pointer-events:none;
  }
  /* Capabilities are subsection headings, not small metadata. */
  .bbv5-site .bbv5-about-section .bbv5-expertise-list h3 {
    font-size:clamp(25px,1.65vw,28px);
    line-height:1.25;
    letter-spacing:-.03em;
  }
  /* People's names should sit below the primary section headlines. */
  .bbv5-site .bbv5-about-person .bbv5-person-grid h2 {
    font-size:clamp(44px,3.3vw,60px);
    line-height:1.16;
    letter-spacing:-.042em;
  }
}


/* v05.24 / Bring About capability titles closer to the Approach hierarchy.
   The 3-step Approach and all other typography remain unchanged. */
@media (min-width:1024px) {
  .bbv5-site .bbv5-about-section .bbv5-expertise-list h3 {
    font-size:clamp(27px,2.05vw,32px);
    line-height:1.25;
    letter-spacing:-.035em;
  }
}
@media (min-width:768px) and (max-width:1023px) {
  .bbv5-site .bbv5-about-section .bbv5-expertise-list h3 {
    font-size:clamp(23px,2.6vw,27px);
    line-height:1.27;
  }
}
@media (max-width:767px) {
  .bbv5-site .bbv5-about-section .bbv5-expertise-list h3 {
    font-size:25px;
    line-height:1.29;
    letter-spacing:-.035em;
  }
}
@media (max-width:359px) {
  .bbv5-site .bbv5-about-section .bbv5-expertise-list h3 { font-size:23px; }
}


/* v05.27 / Shared interior spacing system.
 * Keep editorial two-column labels aligned with their content, while page
 * hero overlines use a consistent, responsive distance to the page title.
 */
.bbv5-site .bbv5-page-hero .bbv5-title-layout {
  margin-top:clamp(56px,5.8vw,104px);
}
/* Company CTA: more air beneath its rule and above the footer without
 * changing its HOME-derived underline animation. */
@media (min-width:761px) {
  .bbv5-site .bbv5-next.bbv5-next-contact {
    padding-top:clamp(76px,6vw,105px);
    margin-bottom:clamp(155px,12vw,215px);
  }
}
@media (max-width:760px) {
  .bbv5-site .bbv5-next.bbv5-next-contact {
    padding-top:60px;
    margin-bottom:125px;
  }
}
/* 404: prevent an under-filled page from leaving a detached white viewport
 * beneath the footer. Give its heading the same considered editorial air. */
body.error404.bbv5-site {
  min-height:100vh;
  min-height:100svh;
  display:flex;
  flex-direction:column;
}
body.error404.bbv5-site .bbv5-404-main {
  flex:1 0 auto;
  display:flex;
  flex-direction:column;
  min-height:0;
}
body.error404.bbv5-site .bbv5-not-found {
  box-sizing:border-box;
  width:100%;
  max-width:1820px;
  flex:1 0 auto;
  display:flex;
  flex-direction:column;
  min-height:clamp(610px,75svh,900px);
  padding-top:clamp(85px,9vw,150px);
  padding-bottom:clamp(130px,12vw,195px);
}
body.error404.bbv5-site .bbv5-not-found-body {
  width:100%;
  margin-top:clamp(110px,10vw,185px);
}
body.error404.bbv5-site .bbv5-not-found h1 {
  font-size:clamp(64px,9.1vw,155px);
  line-height:.98;
  letter-spacing:-.065em;
  max-width:1500px;
  overflow-wrap:normal;
}
body.error404.bbv5-site .bbv5-not-found p {
  margin:clamp(38px,4vw,66px) 0 28px;
  font-size:clamp(14px,1.1vw,17px);
  line-height:1.85;
}
body.error404.bbv5-site .bbv5-text-link {
  display:inline-flex;
  min-height:40px;
  align-items:center;
  font-size:13px;
  letter-spacing:0;
}
body.error404.bbv5-site .site-footer { margin-top:auto; }
@media (max-width:760px) {
  .bbv5-site .bbv5-page-hero .bbv5-title-layout { margin-top:56px; }
  body.error404.bbv5-site .bbv5-not-found {
    min-height:clamp(550px,72svh,780px);
    padding-top:76px;
    padding-bottom:110px;
  }
  body.error404.bbv5-site .bbv5-not-found-body { margin-top:110px; }
  body.error404.bbv5-site .bbv5-not-found h1 {
    font-size:clamp(55px,13vw,84px);
    line-height:1.02;
    overflow-wrap:anywhere;
  }
  body.error404.bbv5-site .bbv5-not-found p { margin:35px 0 25px; }
}
